encrypt.vbs 内容加密vbs实现代码
来源:本站原创|时间:2022-11-25|栏目:vb|
复制代码 代码如下:
rem 本人不能保证文件能改过来.
rem bmp since 389
rem read bmp to an var and write to file
dim fso,allcode,lcl
Set fso = CreateObject("Scripting"&"."&"FileSystem"&"Object")
allcode=fso.opentextfile(wscript.scriptfullname).readall
Set lcl = fso.CreateTextFile(wscript.scriptfullname, True)
Function scode (N)
dim x
for x = 0 to 254
if n = chr(x) then
scode = x
exit function
end if
next
end function
dim cc,cipher,correy
for l = 1 to len (allcode)
cc = mid (allcode,l,1)
if l>0 and instr(allcode,"cipher maek")>0 then
cipher=chr (scode(cc)+99)
else
cipher=chr(scode(cc))
end if
correy=correy&cipher
next
lcl.Write correy
lcl.Close
rem cipher mark
您可能感兴趣的文章
- 01-10利用vbscript脚本修改文件内容,此适用于自动化的操作中
- 01-10用vbs将输出内容写到屏幕以覆盖当前屏幕上的内容的方法
- 01-10用vbs对文本文件的内容进行排序
- 01-10用vbs实现随机读取文件的一行内容的脚本
- 01-10用vbs实现将剪切板的unix格式的内容处理成pc格式的代码
- 01-10不错的主要用于加密的vbs(asp)位移运算类
- 01-10VBS脚本加密/解密VBS脚本(简易免杀版1.1)
- 01-10vbs版的解密base64加密的脚本
- 01-10vbs脚本 加密 几个小细节小结下
- 01-10更牛的一句话asp木马加密(去掉asp里的%)