REPG
REDD's Encrypted Payload Generator - Generates a BadUSB/DuckyScript payload.txt from prior ps1(PowerShell) AND py(Python) Scripts.
Install / Use
/learn @InfoSecREDD/REPGREADME
REPG (REDD's Encrypted Payload Generator)
This is a simple project aimed at making other people's PowerShell scripts AND Python scripts be easily converted for everyone to use. - While throwing a bit of Base64 and certutil commands in there to give others more ideas on what can and could be possible.
Instructions
- Download the latest release of this Repo.
- Unzip the file into the folder of choice.
- Place desired Powershell file(s) in the same folder.
- Use the syntax for the device and PowerShell script you want.
- Transfer "payload.txt" to BadUSB/DuckyScript Device of your choice.
- Run the payload.txt.
- Enjoy!
Syntax
For OMG/Hak5/Other OFFICIAL DuckyScript devices*:
PS> .\encode.ps1 helloworld.ps1
OR
Drag and Drop helloworld.ps1 onto DragNDropHERE-Hak5.cmd.
For Flipper Zero/BadUSB devices*:
PS> .\encode.ps1 helloworld.ps1 -flipper
OR
Drag and Drop helloworld.ps1 onto DragNDropHERE-Flipper.cmd.
Notice: * = This is just a example syntax using the provided "helloworld.ps1" in this repo.
Possible Errors
- Common Error 1
You may run into Windows 11 Machines and rare cases Windows 10 Machines that give "File cannot be loaded because running scripts is disabled on this system.".
- Solution
You can run the "allowps.txt" BadUSB/Duckyscript provided in the repo to automatically do it for
you, or you can run the command Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
in a PowerShell Terminal.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
