Coder Social home page Coder Social logo

infosecredd / repg Goto Github PK

View Code? Open in Web Editor NEW
145.0 5.0 8.0 23 KB

REDD's Encrypted Payload Generator - Generates a BadUSB/DuckyScript payload.txt from prior ps1(PowerShell) AND py(Python) Scripts.

License: MIT License

PowerShell 95.94% Batchfile 4.06%
badusb badusb-payloads ducky-payloads duckyscript generator duckyscripts flipper flipper-badusb flipper-zero flipperzero

repg's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.