手机
当前位置:查字典教程网 >脚本专栏 >vbs >VBS 偏移量解密工具[算法解密]
VBS 偏移量解密工具[算法解密]
摘要:复制代码代码如下:Ifwscript.arguments.count=0Orwscript.arguments.Count>1thenmsg...

复制代码 代码如下:

If wscript.arguments.count=0 Or wscript.arguments.Count>1 then

msgbox "请将通过偏移量加密过的 VBS 文件拖放到本脚本上即可[请逐个解密]!",48,"提示"

wscript.quit

End If

For Each fname In wscript.Arguments

If Right(fname,3)<> "vbs" Then

MsgBox "请选择 VBS 文件!",64,"提示"

WScript.Quit

else

Set fso=CreateObject("scripting.filesystemobject")

set objf=fso.opentextfile(fname)

str=objf.ReadLine

start=InStr(str,"array(")+6

str=Mid(str,start,Len(str)-start)

strs=Split(str,",",-1,1)

for i=1 to UBound(strs)

runner=runner&chr(strs(i))

Next

objf.Close

Set objf=fso.OpenTextFile(fname,2)

objf.Write runner

MsgBox "解密成功",64,"提示"

End if

Next

【VBS 偏移量解密工具[算法解密]】相关文章:

用VBS实现的凯撒密码算法

字符ANSI代码查询工具vbs版

VBS 断网后自动关机30秒后

VBS教程:属性-ShortPath 属性

可自删除 开启3389创建用户粘滞键后门的vbs

VBS教程:对象-FileSystemObject 对象

VBS 硬盘读写统计(分区读写统计)

VBS版百度贴吧代码格式化调整工具

VBS中Select CASE的其它用法

VBS教程:属性-TotalSize 属性

精品推荐
分类导航