I have collect few rules to detect few of non-detectable bots with PHP. The rules using the User Agent and the Headers.
It is not for everyone. It is specially for coder.
I have collect few rules to detect few of non-detectable bots with PHP. The rules using the User Agent and the Headers.
It is not for everyone. It is specially for coder.
expanded:
// Header 'Accept-Language' not "undefined"
if (array_key_exists('Accept-Language', $mtm_getallheaders_array) === true) {
if (trim($mtm_getallheaders_array['Accept-Language']) == "undefined") {
$mtm_bot_filter_bool = true;
}
}
expanded:
Plugin Track Spam Prevention - ISP/ASN name Blacklist
Tutorial: TrackingSpamPrevention - block ISP / ASN by name