国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > VBScript > 正文

encrypt.vbs 內容加密vbs實現代碼

2020-06-26 18:22:08
字體:
來源:轉載
供稿:網友
內容加密vbs實現代碼 本人不能保證文件能改過來.請大家先測試下,注意備份。
 
復制代碼代碼如下:

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 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 宁海县| 百色市| 伊宁县| 云浮市| 耒阳市| 黄山市| 通许县| 武城县| 额尔古纳市| 绥滨县| 武鸣县| 武夷山市| 迭部县| 景谷| 台中县| 金沙县| 云安县| 磐石市| 威海市| 定州市| 田阳县| 东兰县| 贵德县| 珲春市| 离岛区| 湖南省| 洪江市| 浏阳市| 崇礼县| 天气| 景谷| 珠海市| 阆中市| 杨浦区| 宜宾市| 堆龙德庆县| 张家界市| 梁平县| 丽江市| 塘沽区| 邯郸县|