{"id":22822517,"url":"https://github.com/infosecredd/repg","last_synced_at":"2025-06-16T11:05:21.594Z","repository":{"id":185112815,"uuid":"673026882","full_name":"InfoSecREDD/REPG","owner":"InfoSecREDD","description":"REDD's Encrypted Payload Generator - Generates a BadUSB/DuckyScript payload.txt from prior ps1(PowerShell) AND py(Python) Scripts.","archived":false,"fork":false,"pushed_at":"2023-12-16T23:05:15.000Z","size":23,"stargazers_count":186,"open_issues_count":1,"forks_count":12,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-23T03:44:28.544Z","etag":null,"topics":["badusb","badusb-payloads","ducky-payloads","duckyscript","duckyscripts","flipper","flipper-badusb","flipper-zero","flipperzero","generator","powershell","rubberducky"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InfoSecREDD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-31T17:44:28.000Z","updated_at":"2025-04-09T13:56:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"20aaa7b8-7240-48fb-bf60-ec270b92bfeb","html_url":"https://github.com/InfoSecREDD/REPG","commit_stats":null,"previous_names":["infosecredd/repg"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/InfoSecREDD/REPG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfoSecREDD%2FREPG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfoSecREDD%2FREPG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfoSecREDD%2FREPG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfoSecREDD%2FREPG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InfoSecREDD","download_url":"https://codeload.github.com/InfoSecREDD/REPG/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfoSecREDD%2FREPG/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260148282,"owners_count":22965910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["badusb","badusb-payloads","ducky-payloads","duckyscript","duckyscripts","flipper","flipper-badusb","flipper-zero","flipperzero","generator","powershell","rubberducky"],"created_at":"2024-12-12T16:12:11.247Z","updated_at":"2025-06-16T11:05:21.550Z","avatar_url":"https://github.com/InfoSecREDD.png","language":"PowerShell","readme":"# REPG (REDD's Encrypted Payload Generator)\nThis is a simple project aimed at making other people's PowerShell scripts AND Python scripts be easily converted\nfor everyone to use. - While throwing a bit of Base64 and certutil commands in there to give \nothers more ideas on what can and could be possible.\n\n## Instructions\n- Download the [latest release](https://github.com/InfoSecREDD/REPG/releases) of this Repo.\n- Unzip the file into the folder of choice.\n- Place desired Powershell file(s) in the same folder. \n- Use the syntax for the device and PowerShell script you want.\n- Transfer \"payload.txt\" to BadUSB/DuckyScript Device of your choice.\n- Run the payload.txt.\n- Enjoy!\n\n# Syntax\n## For OMG/Hak5/Other OFFICIAL DuckyScript devices*:\n\n```PS\u003e .\\encode.ps1 helloworld.ps1```\n\n  OR\n\nDrag and Drop ``helloworld.ps1`` onto ``DragNDropHERE-Hak5.cmd``.\n\n## For Flipper Zero/BadUSB devices*:\n\n```PS\u003e .\\encode.ps1 helloworld.ps1 -flipper```\n\n  OR\n\nDrag and Drop ``helloworld.ps1`` onto ``DragNDropHERE-Flipper.cmd``.\n\n\nNotice:  * = This is just a example syntax using the provided \"helloworld.ps1\" in this repo.\n\n\n## Possible Errors\n- Common Error 1\n\nYou may run into Windows 11 Machines and rare cases Windows 10 Machines that give \"File cannot\nbe loaded because running scripts is disabled on this system.\".\n- Solution\n\nYou can run the \"[allowps.txt](https://raw.githubusercontent.com/InfoSecREDD/REPG/main/allowps.txt)\" BadUSB/Duckyscript provided in the repo to automatically do it for\nyou, or you can run the command ``Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser``\nin a PowerShell Terminal. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfosecredd%2Frepg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfosecredd%2Frepg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfosecredd%2Frepg/lists"}