婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > VBE decoder

VBE decoder

熱門標簽:齊齊哈爾高德地圖標注店 東營快遞外呼系統 地圖標注政府哪個部門管 百度地圖標注點距離代碼 哪里有便宜的地圖標注公司 神行者美術館地圖標注 佛山真人電銷機器人廠家 除了地圖標注還有這種生意嗎 如何用機器人進行電銷

This script give you a decoded listing from an encoded file.
Supports *,je, ,vbe, .asp, .hta, .htm, .html…
If used under cscript, puts the result to stdout.
The file can be multi-encoded (many scripts in the file, for ex. in an html file)
Used under wscript, pops up the decoded file in a message box.

File Name : decovbe.vbs
Requirement : none
Author : Jean-Luc Antoine
Submitted : 05/09/2001
Updated : 09/12/2001
Category : 4K

復制代碼 代碼如下:

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("Choose an encoded file", 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 "Please give a filename"
 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(Replace(Chaine,"@*",">"),"@!","")
 Chaine=Replace(Chaine,"@$","@")
 index=-1
 For i=1 to Len(Chaine)
  c=asc(Mid(Chaine,i,1))
  If c128 Then index=index+1
  If (c=9) or ((c>31) and (c128)) Then
   If (c>60) and (c>62) and (c>64) Then
    Chaine=Left(Chaine,i-1) Mid(tDecode(c),Mid(Combinaison,(index mod 64)+1,1),1) Mid(Chaine,i+1)
   End If
  End If
 Next
 Decode=Chaine
End Function

Function BrowseForFolder(ByVal pstrPrompt, ByVal pintBrowseType, ByVal pintLocation)
 Dim ShellObject, pstrTempFolder, x
 Set ShellObject=WScript.CreateObject("Shell.Application")
 On Error Resume Next
 Set pstrTempFolder=ShellObject.BrowseForFolder(H0,pstrPrompt,pintBrowseType,pintLocation)
 BrowseForFolder=pstrTempFolder.ParentFolder.ParseName(pstrTempFolder.Title).Path
 If Err.Number>0 Then BrowseForFolder=""
 Set pstrTempFolder=Nothing
 Set ShellObject=Nothing
End Function



原文: http://www.interclasse.com/scripts/decovbe.php

標簽:邢臺 西安 文山 鶴壁 湖州 四平 銅川 海口

巨人網絡通訊聲明:本文標題《VBE decoder》,本文關鍵詞  VBE,decoder,VBE,decoder,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《VBE decoder》相關的同類信息!
  • 本頁收集關于VBE decoder的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 金平| 军事| 仁寿县| 宜春市| 武乡县| 璧山县| 高雄市| 通渭县| 偏关县| 方山县| 巧家县| 旬阳县| 海盐县| 东宁县| 佛教| 佛冈县| 龙陵县| 乌鲁木齐县| 都匀市| 虎林市| 三门县| 夏津县| 灵川县| 禄丰县| 高密市| 沛县| 大城县| 宜兰县| 申扎县| 平顺县| 柘城县| 仙游县| 抚宁县| 静宁县| 涿鹿县| 林甸县| 鄂尔多斯市| 山东省| 崇信县| 报价| 乌兰察布市|