Skip to content

Instantly share code, notes, and snippets.

Avatar

Alex Pinto alexcpsec

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am alexcpsec on github.
  • I am alexcpsec (https://keybase.io/alexcpsec) on keybase.
  • I have a public key whose fingerprint is 31C9 ACC3 3ECC 6BC8 D03B C5E1 755F 3D5D ABE6 9E1A

To claim this, I am signing this object:

View thug-docker.md
  1. Started an EC2 instance using Docker instructions
  2. Installed thug with sudo docker pull jnazario/thug
  3. Created directory in my home named thuglogs (can be anything)
  4. alias thug='docker run -w /usr/local/src/thug/src -v /home/ubuntu/thuglogs:/usr/local/src/thug/logs jnazario/thug python thug.py'
  5. thug -r http://example.net/myreferer http://evil.example.com/badstuffhere
  6. Logs will go in /home/ubuntu/thuglogs or whatever directory you specify in the alias