Skip to content

Instantly share code, notes, and snippets.

@alexcpsec
Forked from krmaxwell/thug-docker.md
Created February 24, 2014 17:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexcpsec/9193193 to your computer and use it in GitHub Desktop.
Save alexcpsec/9193193 to your computer and use it in GitHub Desktop.
  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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment