Skip to content

Instantly share code, notes, and snippets.

View alexcpsec's full-sized avatar

Alex Pinto alexcpsec

View GitHub Profile
  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