CaMykS
1.0-20231201
|
Variables | |
global | $softwareProperties |
Client specific methods. More... | |
client_getIp | ( | ) |
Return client IP address.
client_getUserAgent | ( | ) |
Return client user agent.
client_isHTTPS | ( | ) |
Check if page is loaded in HTTPS (SSL).
client_getRefererSite | ( | ) |
Return client referer site.
client_isServerClient | ( | ) |
Check if the server is also the client.
client_getDoNotTrack | ( | ) |
Check if client is marked as Do Not Track.
client_getUAInfos | ( | $ua = false | ) |
Return client informations.
mixte | $ua |
client_checkIsBot | ( | $ua = false | ) |
Return bot index if bot.
string | $ua |
client_getBotInfos | ( | $bot = '' | ) |
Return bot info if bot.
string | $bot |
client_getBotInfosFromUserAgent | ( | $ua = '' | ) |
Return bot info from user agent.
string | $ua |
client_getKnownBots | ( | ) |
Return known bots list.
client_checkIsTool | ( | $ua = false | ) |
return tool index if tool
string | $ua |
client_getToolInfos | ( | $tool = '' | ) |
Return tool info if tool.
string | $tool |
client_getToolInfosFromUserAgent | ( | $ua = '' | ) |
Return tool info from user agent.
string | $ua |
client_getKnownTools | ( | ) |
Return given known tool list.
client_checkIsBeforeBot | ( | $ua = false | ) |
Return bot index if before bot.
string | $ua |
client_getBeforeBotInfos | ( | $bot = '' | ) |
Return bot info if bot.
string | $bot |
client_getBeforeBotInfosFromUserAgent | ( | $ua = '' | ) |
Return bot info from user agent.
string | $ua |
client_getKnownBeforeBots | ( | ) |
Return known bots list.
client_checkIsUnknown | ( | $ua = false | ) |
Return unknown index if unknown.
string | $ua |
client_getUnknownInfos | ( | $unknown = '' | ) |
Return unknown info if unknown.
string | $unknown |
client_getUnknownInfosFromUserAgent | ( | $ua = '' | ) |
Return unknown info from user agent.
string | $ua |
client_getKnownUnknowns | ( | ) |
Return given known unknown list.
client_checkIsGeneric | ( | $ua = false | ) |
Return generic index if generic.
string | $ua |
client_getGenericInfos | ( | $generic = '' | ) |
Return generic info if generic.
string | $generic |
client_getGenericInfosFromUserAgent | ( | $ua = '' | ) |
Return bot info from user agent.
string | $ua |
client_loadKnownGenerics | ( | ) |
Load known web generic library lists.
client_checkIsHack | ( | $ua = false | ) |
Return hack index if hack.
string | $ua |
client_getHackInfos | ( | $hack = '' | ) |
Return bot info if hack.
string | $hack |
client_getHackInfosFromUserAgent | ( | $ua = '' | ) |
Return hack info from user agent.
string | $ua |
client_getKnownHacks | ( | ) |
Return given known web hack or hack list.
client_getFakeInfosFromUserAgent | ( | $ua = '' | ) |
Return fake visitor info from user agent.
string | $ua |
|
private |
Return merged informations.
array | $req | |
array | $infos |
|
private |
Load some defined properties for softwares.
_client_checkSoftwareIsFake | ( | $type, | |
$infos, | |||
$ua | |||
) |
Check if sofware is fake.
string | $type | |
array | $infos | |
string | $ua |
|
private |
Check if given UA is a OnePlus device
string | $ua |
|
private |
Check if given UA is a Huawei device
string | $ua |
|
private |
Check if given UA is a Pocophone device.
string | $ua |
|
private |
Check if given UA is a Kyocera device.
string | $ua |
|
private |
Check if given UA is a Ampe device.
string | $ua |
|
private |
Check Firefox fake user agents.
array | $infos | |
string | $ua |
global $softwareProperties |
Client specific methods.
Engine / Tool Library