日期:2014-05-17  浏览次数:20865 次

网页源文件乱码如何查看
<%#@~^HwAAAA==r6P.;!+/D`rCmDkGxr#xEmNNr~Y4+xhAoAAA==^#~@%>
                        添加
                        <%#@~^BAAAAA==n^/nqQEAAA==^#~@%>
                        修改
                        <%#@~^BgAAAA==n N~b0JgIAAA==^#~@%>
                        产品成功 </b> </td>

这样的代码如何察看
谢谢

------解决方案--------------------
非常抱歉的告诉你,查看不了!
------解决方案--------------------
不全,没有办法看
------解决方案--------------------
option explicit
Dim oArgs, NomFichier
'Optional argument : the encoded filename
NomFichier= " "
Set oArgs = WScript.Arguments
Select Case oArgs.Count
Case 0 'No Arg, popup a dialog box to choose the file
NomFichier=BrowseForFolder( "选择文件 ", &H4031, &H0011)
Case 1
If Instr(oArgs(0), "? ")=0 Then '-? ou /? => aide
NomFichier=oArgs(0)
End If
Case Else
WScript.Echo "Too many parameters "
End Select
Set oArgs = Nothing

If NomFichier <> " " Then
Dim fso
Set fso=WScript.CreateObject( "Scripting.FileSystemObject ")
If fso.FileExists(NomFichier) Then
Dim fic,contenu
Set fic = fso.OpenTextFile(NomFichier, 1)
Contenu=fic.readAll
fic.close
Set fic=Nothing

Const TagInit= "#@~^ " '#@~^awQAAA==
Const TagFin= "==^#~@ " '& chr(0)
Dim DebutCode, FinCode
Do
FinCode=0
DebutCode=Instr(Contenu,TagInit)
If DebutCode> 0 Then
If (Instr(DebutCode,Contenu, "== ")-DebutCode)=10 Then 'If "== " follows the tag
FinCode=Instr(DebutCode,Contenu,TagFin)
If FinCode> 0 Then
Contenu=Left(Contenu,DebutCode-1) & _
Decode(Mid(Contenu,DebutCode+12,FinCode-DebutCode-12-6)) & _
Mid(Contenu,FinCode+6)

End If
End If
End If
Loop Until FinCode=0
WScript.Echo Contenu
Else
WScript.Echo Nomfichier & " not found "
End If
Set fso=Nothing
Else
WScript.Echo "请输入文件名 "
WScript.Echo "Usage : " & wscript.fullname & " " & WScript.ScriptFullName & " <filename> "
End If

Function Decode(Chaine)
Dim se,i,c,j,index,ChaineTemp
Dim tDecode(127)

Const Combinaison= "1231232332321323132311233213233211323231311231321323112331123132 "
Set se=WSCript.CreateObject( "Scripting.Encoder ")
For i=9 to 127
tDecode(i)= "JLA "
Next
For i=9 to 127
ChaineTemp=Mid(se.EncodeScriptFile( ".vbs ",string(3,i),0, " "),13,3)
For j=1 to 3
c=Asc(Mid(ChaineTemp,j,1))
tDecode(c)=Left(tDecode(c),j-1) & chr(i) & Mid(tDecode(c),j+1)
Next
Next
'Next line we correct a bug, otherwise a ") " could be decoded to a "> "
tDecode(42)=Left(tDecode(42),1) & ") " & Right(tDecode(42),1)
Set se=Nothing

Chaine=Replace(Replace(Chaine, "@& ",chr(10)), "@# ",chr(13))
Chaine=Replace(Replac