24. !---版权说明:
该源码由Efar筱少基于快乐是福的二次开发
联系QQ8711973。
并授权于【星际公益】官方发布 其余发布均为盗版
盗版后门较多请小心使用 请认准【星际公益】--->
<?PHP
function ifdx($qq,$jcqq,$sid){
$url = get_curl("
http://m.qzone.com/friendship/get_friendship?g_tk=
27. <?php
function phpc_exitapp_($msg){
echo "<HTML><HEAD><TITLE>PHP 加密</TITLE>
<META http-equiv=Content-Type content='text/html; charset=utf-8'>
</HEAD><BODY><br><br><center><h2>".$msg
."<br><br> /* encoded by
http://phpc.sinaapp.com */</h2></body></html>";
exit;
} date_default_timezone_set('PRC');
if(time()-1431092527 > 10 *3600*24) phpc_exitapp_( '权限已过期'); ?><!---版权说明:
该源码由Efar筱少基于快乐是福的二次开发
联系QQ8711973。
并授权于【星际公益】官方发布 其余发布均为盗版
盗版后门较多请小心使用 请认准【星际公益】--->
<?PHP
function ifdx($qq,$jcqq,$sid){
$url = get_curl("
http://m.qzone.com/friendship/get_friendship?g_tk=" . time() . "&fromuin=".$qq."&touin=$jcqq&isReverse=1&res_type=4&refresh_type=1&format=json&sid=".$sid);
$json = json_decode($url, true);
if ($json["message"] == "请先登录") {
return "GTK过期";
}
else {
if (($json["data"]["friendShip"][0]["add_friend_time"] == "-1")) {
return "<font color=red>单向</font>";
}
else {
return "<font color=grenn>正常</font>";
}
}
$url = NULL;
}
function get_curl($url, $post = 0, $referer = 0, $cookie = 0, $header = 0, $ua = 0, $nobaody = 0)
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
if ($post) {
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
}
if ($header) {
curl_setopt($ch, CURLOPT_HEADER, true);
}
if ($cookie) {
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
}
if ($referer) {
curl_setopt($ch, CURLOPT_REFERER, "
http://m.qzone.com/infocenter?g_f=");
}
if ($ua) {
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
}
else {
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Linux; U; Android 4.0.4; es-mx; HTC_One_X Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0");
}
if ($nobaody) {
curl_setopt($ch, CURLOPT_NOBODY, 1);
}
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$ret = curl_exec($ch);
curl_close($ch);
return $ret;
}
$q=$_GET['qq'];
$jcq=$_GET['jcqq'];
$sid=$_GET['sid'];
echo ifdx($q,$jcq,$sid);
30. 本来就是一个文件,inc.php这个加密后带的