Home > Mobile >  Does anyone know WeChat domain block detection principle?
Does anyone know WeChat domain block detection principle?

Time:09-25

Does anyone know WeChat domain block detection principle? As http://www.xxweixin.com/? The from=bd_pc2
And http://wx.canyou168.com/pro/wxUrlCheck.ashx? The function of the url=leafsandwich.com

CodePudding user response:

This strategy is an integrated algorithm, including the principle of tunnel, there are also some flexible scheduling, if from simple as can be thought of as a concern in accordance with the traffic ladder provides WeChat strategy,

I posted a qq group, if you encounter the same problem can add me maybe you add me when I have resolved the even if no problem we can discuss together

693593325

CodePudding user response:

1, the domain name can restore application, according to the prompt of WeChat process operation can, whether can really unlock that is lucky,

2, the key is how to prevent be blocked, otherwise, too, will be closure, unlock the meaningless?

1) to get a few more domain name automatically switch, at this time requires real-time query domain was interface sealing technology, I used the

http://vcweixin.com is good, can have a try, the fast technology service provider has a lot of, I also try to a lot of

2) proof seal domain, undead domain name, name is quite arbitrary, effect but also luck, there is a wind of a few months didn't things, some also letter very fast, but on the whole domain is more than the ordinary quality more wind

3) technology on internal fault tolerance, let WeChat background cannot be shut down automatically detect,

CodePudding user response:

Are generally WeChat docking test apis use

CodePudding user response:

 
$url="http://api.monkeyapi.com";
$params=array (
"Appkey"=& gt; "Appkey",//you for applying to the appkey
'url=& gt; 'www.url.com',//need to query website
);

$paramstring=http_build_query ($params);
The $content=Curl ($url, $paramstring);
$result=json_decode ($content, true);
If ($result) {
Var_dump ($result);
} else {
//request exception
}

/* *
* request interface returned content
* @ param string $[] to the url request url
* @ param string $params [request parameter]
* @ param int $ipost [whether] by POST
* @ return string
*/
The function Curl ($url, $params=false, $ispost=0)
{
$httpInfo=array ();
$ch=curl_init ();

Curl_setopt ($ch, CURLOPT_HTTP_VERSION CURL_HTTP_VERSION_1_1);
Curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 60);
Curl_setopt ($ch, CURLOPT_TIMEOUT, 60);
Curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
Curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, true);
If ($ispost) {
Curl_setopt ($ch, CURLOPT_POST, true);
Curl_setopt ($ch, CURLOPT_POSTFIELDS, $params);
Curl_setopt ($ch, CURLOPT_URL, $url);
} else {
If ($params) {
Curl_setopt ($ch, CURLOPT_URL, $url. '? '$params);
} else {
Curl_setopt ($ch, CURLOPT_URL, $url);
}
}

$response=the curl_exec ($ch);
If ($response===FALSE) {
//echo "cURL Error:" curl_error $(ch);
return false;
}

$httpCode=curl_getinfo ($ch, CURLINFO_HTTP_CODE);
$httpInfo=array_merge ($httpInfo curl_getinfo ($ch));
Curl_close ($ch);
Return $response;
}


Don't understand can + q 3602249720 explore

CodePudding user response:

Are generally WeChat domain detecting interface to add domain rotation, this is the simple proof sealing, blocked, you can jump B if A domain name, if not sealing jump A, more specific advanced can seek advice I

CodePudding user response:

This is very good, put their code, can refer to,

 & lt; ? PHP 
//your API Token, in the center of the user can query to
$apiToken="* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *";
//need to detect address or domain name
$reqUrl="www.qq.com";
$url=sprintf (" https://wx.horocn.com/api/v1/wxUrlCheck? Api_token=% s& Req_url=% s ", $apiToken, $reqUrl);
$ch=curl_init ($url);
Curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
Curl_setopt ($ch, CURLOPT_BINARYTRANSFER, true);
$responseBody=the curl_exec ($ch);
$responseArr=json_decode ($responseBody, true);
If (json_last_error ()!={JSON_ERROR_NONE)
Echo "JSON parse interface error results \ n";
return;
}
If (isset ($responseArr [' code ']) & amp; & $responseArr [' code ']==0) {
//interface right return
//$responseArr [' data '] [' status'] scope: ok, blocked
//ok said is normal, blocked said blocked
Printf (" test address (% s) status to: % s \ n ", $reqUrl, $responseArr [' data '] [' status']);
} else {
Printf (" abnormal interface: % s \ n ", var_export ($responseArr, true));
}


Need friends can have a try,

CodePudding user response:

Can go to the monkey data to see, very full very detailed at https://url.cn/XPLBmy2R

CodePudding user response:

Share http://blog.itpub.net/69983430/viewspace-2718548/recommend watching this article is full of dry goods
  • Related