MPGHB

Members Login
Username 
 
Password 
    Remember Me  
 

Topic: |Tutorial|How Hacking Facebook Accaount Works

Post Info
Senior Member
Status: Offline
Posts: 181
Date:
|Tutorial|How Hacking Facebook Accaount Works
Permalink  
 

HOW HACKING FACEBOOK ACCOUNTS WORKS

Facebook has two databases (one for males and one for females users) where they keep all the information from their users, if you remember the email you use to login but forget your password, you can use the 'Forgot your password?' option, however if like me you don't have any of that information it's impossible to legally recover that account.

If you know anything about programming websites you know the 'Forgot your password?' service has to be in direct contact with the databases in order to send requests to retrieve the forgotten information for you, basically what that means is if you 'ask' the database for the login information with the right 'code' (in our case exploit), it will send you back that information.

So all I had to figure out is what the code was and what system they used to contact the databases through the 'Forgot your password?' service, after a few weeks of writing and testing codes I came up with the right one for the job and after doing a bit of research I learned FaceBook uses something similar to an email service to contact their databases.

For security reasons the databases are programmed to verify the account your requesting is actually yours and not someone elses so they need some type of authentication or verification (thats why they send you a verification link to your email when creating your account or changing your password).

Luckily for us, as mentioned above, through the use of Twitter combined with Facebooks 'Mutual Friend' feature, we can use a friends account to verify your own, in other words, if the person you want to get the login information from is on your friends list on Facebook...you can use your Twitter account to verify your their friend on Facebook taking advantage of the vulnerability of the twitter status sync exploit, and get their login email and password sent to you. Unfortunately, this isn't the Twitter method.

HOW TO DO IT

1) First off you will need to get your user id and the victims user id, how do you do this?

Go to the victims profile, then click on their Display Picture (not the "View Photos of ..." link or tab but the actual main picture of their profile) and look at your browsers address bar, at the end of all the address you should see a group of numbers that should you should look something like this: (I have used a red arrow to point them out)



Don't worry if it isn't exactly like that (sometimes it has variations like; 'album.php?profile=10957800008') just as long as you get the numbers. Write them down somewhere as you will need to use it a bit further down, once that is done you may continue to step 2.

2) At the bottom of this page I have pasted the exploit code I created to fool the databases, this is the tricky part as you will have to edit the code a bit yourself so that it fits your needs when searching for the victims login information.

Scroll down to the bottom of this page and find the code I have highlighted in red so you know what to copy, select the code and copy it to your clipboard (press CTRL+C) then paste it (CTRL+V) on a notepad or text document so you can edit it.

3) Once you have the code somewhere you can edit it, you will need to insert three things into it, the facebook user id of the victim and the Facebook friend authentication information. I will give you step by step examples by trying the exploit code on my friend Laura's account as the victim, see what parts you have to edit and with what:

1. Should be the victims user id.
2. Should be your email login to verify your the victims mutual friend on facebook. .
3. Should be your facebook password so the database can authentic you really are friends with the victim on facebook.

When editing the code, don't accidentally delete one of the quotes (") or it won't work, so make sure you put the information inside them.

4) Now that you have the exploit code edited and ready to send, we are all set to send it to the database through an email, since it's not your regular email but an exploit email we will have to use a special Subject so the database knows how to read it in programming language.

Go to your email address and Compose a new email to password@facebookmail.com which is their customer service email for forgotten passwords, in the Subject copy and paste the code below highlighted in red:

 

Quote

$[search_database = $find user+id= "123456789", '%verification+user+bday' = }"01/01/1900"{ begin_search();

 

 

1. This is where you insert the victims facebook user id. "123456789"
2. This is where you insert your birthday so the database can find you to verify your a friend of the victim (it arranges users in the database based on your date of birth), NOTE: It MUST be in the MONTH/DAY/YEAR format so it can read it properly."01/01/1900"



5) After you have correctly written the To: and Subject sections, you may proceed to insert the exploit code you previously edited in step 3 into the body section of the email.Now all you have to do is click Send and wait for the database to send you back it's reply with the information.

It should take from 4-6 hours depending on the traffic FaceBook has that day, this is a sample of the email response you'll receive:



THE EXPLOIT CODE

 

Quote

fb_select_db("find", $linkID) or die(fbdatabase_error());
    $resultID = fb_query("SELECT FriendID FROM signup WHERE email = '$email'", $linkID) or die(fbdatabase_error());

    $num_rows = db_num_rows($resultID);
    $row = facebook_fetch_array($resultID);
    $user_id = $row[0];

    if ($user_id == "PUTUSERIDHERE") = '$repeat' {
    print Success, We have sent you an email with the Login email and Password of that ID.
    }
    else {
    // print "

    $passwordfromdb = $row[0];
    $find userID = (%friend_list)
    #forgot_pass_userid = "%repeat%"; <%search_database_for_id%>
    #user email= "PUTEMAILHERE"; (%friend_vulnerability_email%)
    #user password = "PUTPASSWORDHERE"; (%friend_vulnerability_pass%)
    $friend_database_exploit = '%request_forgot_pass_info'
    $email_to = %%%@subject_email

    session_start();
    session_reset_pass("session");
    $email_address = $_POST['email_address'];
    if (!isset($_POST['email_address'])) {

    }
    elseif (empty($email_address)) {
       echo $empty_fields_message;
    function decrypt userID password() {
         $salt = "abchefghjkmnpqrstuvwxyz0123456789";
         srand((double)microtime()*1000000);
         $i = 0;
         while ($i <= 7) {
                 $num = decrypt() % 33;
                 $tmp = substr($salt, $num, 1);
                 $pass = $pass . $tmp;
                 $i++;
        }
        return $pass;
      }

    mail($email_address, $subject, $message, "Facebook Password Reset Confirmation


    }
    /end$

 



__________________
Newbie
Status: Offline
Posts: 1
Date:
Permalink  
 

I don't swing that way!



-- Edited by jazz albert on Tuesday 25th of October 2016 01:16:21 AM

__________________
 
Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard