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