mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2025-12-25 04:15:26 -08:00
SYNOPSIS
Uses a Discord bot to send system information, stream desktop and webcam screenshots Also opens a powershell command line interface through discord.
SETUP
-SETUP THE BOT
- make a discord bot at https://discord.com/developers/applications/
- Enable all Privileged Gateway Intents on 'Bot' page
- On OAuth2 page, tick 'Bot' in Scopes section
- In Bot Permissions section tick Manage Channels, Read Messages/View Channels, Attach Files, Read Message History.
- Copy the URL into a browser and add the bot to your server.
- On 'Bot' page click 'Reset Token' and copy the token.
-SETUP THE SCRIPT
----- Option 1 ----- (token placed in ps1 file)
- Copy the token into the Bad USB txt file directly
----- Option 2 ----- (token hosted online)
- Create a file on Pastebin or Github with the content below - Supply your token and optional webhooks (include braces) { "tk": "TOKEN_HERE", "scrwh": "WEBHOOK_HERE", "camwh": "WEBHOOK_HERE", "micwh": "WEBHOOK_HERE" }
- Copy the RAW file url into the Bad USB txt file like this.. $uri = 'https://pastebin.com/raw/xxxxxxxx'
INFORMATION
- The Discord bot you use must be in one server only
- You can specify webhooks to send duplicate files to other channels on another server (OPTIONAL)