forked from den0un/CsgoReportBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
59 lines (38 loc) · 1.58 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
import time
import os
import random
import defs
victim_profile = input("give victim's profile URL:")
with open('accounts.txt', 'r') as file:
for creds in file:
os.system('cls')
username, password = creds.strip('\n').split(':')
report_reason = random.choice(
['he has cheats wallhack', 'he is cheating its obvious radar hack', 'aimboting on mm ? why VAC',
'just fucking ban this kid he is ranging with cheats !!',
'just going to commit suicide cuz of these cheaters',
'spin bot cheat very clear'])
print('[*] Account name: "' + username + '"...')
time.sleep(1)
header = defs.get_header()
login = defs.login(username, password, header)
if login["success"]:
print("[+] Logged in !!")
time.sleep(1)
print("[*] Getting Victim's ID...")
time.sleep(1)
victim_id = defs.get_id(victim_profile, header)
time.sleep(1)
report_code = defs.report(victim_id, report_reason, header)
if report_code == '1':
print('[+] Profile Reported Successfully !!')
time.sleep(2)
elif report_code == '25':
print('[*] Profile already Reported !!')
time.sleep(2)
else:
print('[-] Error something wrong happened !!')
break
else:
print("[-] Error, could not login:", login["message"])
break