扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
===============================decode.asp=============================== <% Pos=2 '解密固定值 Function Fun(ShiSanObjstr) ShiSanObjstr=Replace(ShiSanObjstr,"|","""") For ShiSanI=1 To Len(ShiSanObjstr) If Mid(ShiSanObjstr,ShiSanI,1)<>"!" Then ShiSanNewStr=Mid(ShiSanObjstr,ShiSanI,1)&ShiSanNewStr Else ShiSanNewStr=vbCrLf&ShiSanNewStr End If Next Fun = ShiSanNewStr End Function Function SinfoEn(ObjStr,ObjPos) ObjStr=Replace(ObjStr,"~","""") NewStr=Split(ObjStr,"`") For i=0 To UBound(NewStr) SinfoEn=SinfoEn&EnCode(NewStr(i),ObjPos)&vbCrLf Next SinfoEn=Left(SinfoEn,Len(SinfoEn)-2) End Function Function EnCode(ObjStr,ObjPos) Dim NewStr,TmpStr,i,LenStr LenStr=Len(ObjStr) For i=0 To Int(LenStr/ObjPos)-1 TmpStr=Mid(ObjStr,i*ObjPos+1,ObjPos)&TmpStr Next EnCode=TmpStr&Right(ObjStr,LenStr Mod ObjPos) End Function data=request.form("x") if data="" then data="nothing" response.write "<form method='post'>" response.write "<textarea name='x' cols='80' rows='30'>" response.write Server.HTMLEncode(SinfoEn(data,Pos)) response.write "</textarea>" response.write "<input type='submit' name='Submit1' value=' 提交 '>" response.write "<input type='reset' name='Submit32' value=' 重置 '>" response.write "</form>" %> ===============================end==================================== |
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。