百度又更新了。以下内容又失效了
首先感激 恒通 提供的破解功效和思路。以下是按照功效写出一个解密的php版本。今朝只理会了80位。剩下位数可以收罗足量的url补全。
不多说了上源码:
<html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title>查询百度link?ulr=真实链接表单 by enenba.com</title> </head> <body> <?php //$ascii码表x,y位置 $ascii = array( 0=>array(' ','!','"','#','$','%','&','\'','(',')','*','+',',','-','.','/'), 1=>array('0','1','2','3','4','5','6','7','8','9',':',';','<','=','>','?'), 2=>array('@','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O'), 3=>array('P','Q','R','S','T','U','V','W','X','Y','Z','[','\\',']','^','_'), 4=>array('`','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o'), 5=>array('p','q','r','s','t','u','v','w','x','y','z','{','|','}','~',' '),); //url第N个位置对应的(x,y),今朝只获得80位的url $data = array( array(13,10), array(10,1), array(16,15), array(7,6), array(5,13), array(18,9), array(13,11), array(7,12), array(10,5), array(15,9), array(15,9), array(13,5), array(16,11), array(0,1), array(8,2), array(8,5), array(0,0), array(17,15), array(14,8), array(2,1), array(10,5), array(17,14), array(16,5), array(3,8), array(14,9), array(5,8), array(15,1), array(3,15), array(13,10), array(10,12), array(5,7), array(0,2), array(18,14), array(0,15), array(1,6), array(13,5), array(2,1), array(15,14), array(18,8), array(18,9), array(1,10), array(14,14), array(13,2), array(5,3), array(5,8), array(0,4), array(1,5), array(16,1), array(8,1), array(2,5), array(10,7), array(10,15), array(14,14), array(17,3), array(15,0), array(14,5), array(7,7), array(3,4), array(14,8), array(12,0), array(13,12), array(12,3), array(6,5), array(3,1), array(1,14), array(5,4), array(0,12), array(7,0), array(10,7), array(15,12), array(8,2), array(18,15), array(3,12), array(1,12), array(0,15), array(17,4), array(17,2), array(11,1), array(3,12), array(11,5), array(0,13), array(1,1), array(2,12) ); //所有的y值 $y = array( 0=> '0123456789abcdef', '1032547698badcfe', '23016745ab89efcd', '32107654ba98fedc', '45670123cdef89ab', '54761032dcfe98ba', '67452301efcdab89', '76543210fedcba98', '89abcdef01234567', '98badcfe10325476', 'ab89efcd23016745', 'ba98fedc32107654', 'cdef89ab45670123', 'dcfe98ba54761032', 'efcdab8967452301', 'fedcba9876543210' ); //所有的x值 $x = array( 0=> '016745', '107654', '234567', '321076', '325476', '452301', '543210', '670123', '765432', '761032', '89abcd', '89efcd', '98fedc', 'abcdef', 'badcfe', 'cdab89', 'dcba98', 'ef89ab', 'fe98ba' ); $input = '请输入百度搜索功效url,带link?url=的那种<br>好比:?url=a3f48d30fc293c5e471ef23de092fddc99fdd688681db1fb62cb8c9daa<form method="get" action=""><input type="text" /><input type="submit" value="提交" /></form>'; $url = isset($_GET['url'])?$_GET['url']:''; if(empty($url)) { echo($input); }else{ //解密进程: $search = '/30fc293c5e471ef23de092fddc99([0-9a-f]+)/i'; preg_match($search,$url,$r); $url_encode = $r[1]; unset($r); // 得出密文部门 $url_encode_arr = str_split($url_encode,2); // 两位密文为一组的密文的数组 $result=''; foreach ($url_encode_arr as $k=>$v){ //读取每一组密文的x 和 y $one = str_split($v); $encode_x = $one[0]; $encode_y = $one[1]; //获得第$k位的data $this_data_x = str_split($x[$data[$k][0]]); $this_data_y = str_split($y[$data[$k][1]]); //获得在ascii码表的x,y $real_x = array_search($encode_x,$this_data_x); $real_y = array_search($encode_y,$this_data_y); //功效 $result.= $ascii[$real_x][$real_y]; } //输出功效 echo $input; echo '密文部门为:'.$url_encode.'<br />'; echo '本解密要领得出url为:'.$result; } ?> </body> </html>委曲上一个演示
由于百度更新频繁,文章不再更新。