$key = "This is supposed to be a secret key !!!"function keyED($txt,$encrypt_key) { $encrypt_key = md5($encrypt_key) $ctr=0$tmp = "" for ($i=0$i<strlen($txt)$i++) { if ($ctr==strlen($encrypt_key)) $ctr=0 $tmp.= substr($txt,$i,1) ^ substr($encrypt_key,$ctr,1) $ctr++ } return $tmp } function encrypt($txt,$key) { srand((double)microtime()*1000000) $encrypt_key = md5(rand(0,32000)) $ctr=0 $tmp = "" for ($i=0$i<strlen($txt)$i++) { if ($ctr==strlen($encrypt_key)) $ctr=0 $tmp.= substr($encrypt_key,$ctr,1) . (substr($txt,$i,1) ^ substr($encrypt_key,$ctr,1)) $ctr++ } return keyED($tmp,$key) } function decrypt($txt,$key) { $txt = keyED($txt,$key) $tmp = "" for ($i=0$i<strlen($txt)$i++) { $md5 = substr($txt,$i,1) $i++ $tmp.= (substr($txt,$i,1) ^ $md5) } return $tmp } $string = "Hello World !!!"// encrypt $string, and store it in $enc_text $enc_text = encrypt($string,$key)// decrypt the encrypted text $enc_text, and store it in $dec_text $dec_text = decrypt($enc_text,$key) //加密function str2hex($s){$r = "" $hexes = array ("0","1","2","3","4","5","6","7","8","笑余源9","a","b","c","d","e","f") for ($i=0$i<strlen($s)$i++) ="" $r .= ($hexes [(ord($s{$i}) >>4)] . $hexes [(ord($s{$i}) &0xf)]) return $r }//解密function hex2str($s){$r = "" for ( $i = 0$i<strlen($s)$i="" +="2) " {$x1 = ord($s{$i}) $x1 = ($x1>=48 &&$x1<58) ? $x1-48 : $x1-97+10 $x2 = ord($s{$i+1}) $x2 = ($x2>毁或=48 &&$x2<58) ? $x2-48 : $x2-97+10 $r .= chr((($x1 <<4) &0xf0) | ($x2 &0x0f)) }return $r } echo str2hex("山东")echo ""echo hex2str("碰态c9bdb6ab")?>批纯或槐处理
代码如下:
::══代══码══开══始═══
@echo off&setlocal enabledelayedexpansion
title %date% %time:~,8% By escortmnm
for /l %%i in (1,1,10) do (
set k=00%%i
set m=!k:~-2!
start !m!)
pause
::Coded By escortmnm from VBS团队
::══代══码══结══束═做友══
::上面的代码团老是变更最后两位数,从01到10,括号中的10代表的是终点,最大可以修改为99
补充回答:
原理就是产生1-99之间的数字,加载指定链接后面
你修改的时候直接改里面的数字。
将start !m!中的1代表第一位是1,set m=!k:~-2!中的2代表增加的是一个两位数,改为3就是三位数。1,1,10中的第一个1和10代表开始和结束,改为2,1,99就代表从2到99)。
把:FAIL下面的 echo Invalid password 换成attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully 就可以了,这样不管昌猛你输入什么数,加密耐含桥文老者件夹都能找回来。
评论列表(0条)