analytic
Junior Member
- May 1, 2023
- 110
- 39
Good Cloaking Tools with PHP and Javascripts
Hi guys. Do you use PHP and Javascript for cloaking?
For example, there are bases (ip2location and maxmind) - for working with IP information. That allows us to do what.
There is a landing site (many sites), there is a code (PHP + Javascript) that collects data about the user and passes it to the base site. Here you need to understand the code at an elementary level (this will be discussed in the instructions)
Further on the received parameters - we can do a lot of things .. In particular, create a condition (based on the received parameters) on the basis of which
1) Display the desired text block/banner
2) Redirect
Further, snippets are included in the system codes
1) Accounting for clicks on redirects
2) Accounting for block/banner impressions
Those. based on (the parameters below) - we can build our own landing pages with dynamic content and redirects. Yes, at least you need to understand the layout.
But it's worth it - given the flexibility of embedding these conditions into any site (both in php and html)
It makes sense to compare this system with Keitaro or other tds|analytical systems only in those functions = for which the code system was developed, namely:
1. Traffic accounting for a large number of parameters (which most do not have). Analysis of campaigns with the highest bot traffic.
2. Flexible traffic distribution system. Implementation at the code level.
Now about the parameters
1. IP parameter (PHP) - IP via PHP code
2. IP parameter (JS) - IP via JS code
3. IPW1 parameter - local IP leak via WebRTC
No local IP or local IP is different for the same IP users = BOT TRAFFIC
4. IPW2 parameters - IPv6 leak via WebRTC - there is IPv6 BOT TRAFFIC
5. IPW3 settings - IPv4 leak via WebRTC. IPv4 is not equal to IP BOT TRAFFIC
6. Parameter Country (IP) - User country
7. Parameter Country code (IP) - Code table will be. Sometimes it's easier.
8. Parameter City (IP) - City
9. Parameter Region (IP) - Region
10. Parameter ISP (IP) - Internet provider. Often used in bot distribution. snippet example
PHP:
11. Parameter latitude and longitude (IP). If you want to distribute traffic by ranges.
12. Connection type parameter (IP). If the user's connection type does not match -BOT TRAFFIC
13. Parameter time zone (IP).
14. IP DNS parameter. To obtain this parameter, configuration at the BIND level is required. This will be in the output.
15. Parameter Country (IP DNS)
16. Parameter Country Code (IP DNS)
17. Parameter City (IP DNS)
18. Parameter Region (IP DNS)
19. ISP setting (IP DNS)
20. Connection type parameter (IP DNS)
21. Time zone setting (IP DNS)
22. Parameter USERAGENT (PHP) - here it is clear the user agent received by PHP code
23. User agent type parameter (PHP)
Defined user agent types
1. Browser
2. Bot
3. Feed reader
4. Libraries
5. Mobile application
6. Personal information manager - PIM
7. Media players
24. Parameter user agent name (PHP) - there will be a table with the names of common bots and browsers
25. User agent version parameter (PHP)
26. Parameter user agent engine (PHP)
27. Parameter operating system name (PHP) - there will be a table with OS
28. Operating system version parameter (PHP)
29. Operating system bit depth parameter (PHP)
30. Device Parameter (PHP)
List of defined devices
1 Computer
2 Smartphone
3 tablet
4 Mobile phone
5 Console
6 TV
7 Car Browser
8 Smart display
9 Camera
10 Portable media player
11 Phablet
Hi guys. Do you use PHP and Javascript for cloaking?
For example, there are bases (ip2location and maxmind) - for working with IP information. That allows us to do what.
There is a landing site (many sites), there is a code (PHP + Javascript) that collects data about the user and passes it to the base site. Here you need to understand the code at an elementary level (this will be discussed in the instructions)
Further on the received parameters - we can do a lot of things .. In particular, create a condition (based on the received parameters) on the basis of which
1) Display the desired text block/banner
2) Redirect
Further, snippets are included in the system codes
1) Accounting for clicks on redirects
2) Accounting for block/banner impressions
Those. based on (the parameters below) - we can build our own landing pages with dynamic content and redirects. Yes, at least you need to understand the layout.
But it's worth it - given the flexibility of embedding these conditions into any site (both in php and html)
It makes sense to compare this system with Keitaro or other tds|analytical systems only in those functions = for which the code system was developed, namely:
1. Traffic accounting for a large number of parameters (which most do not have). Analysis of campaigns with the highest bot traffic.
2. Flexible traffic distribution system. Implementation at the code level.
Now about the parameters
1. IP parameter (PHP) - IP via PHP code
2. IP parameter (JS) - IP via JS code
3. IPW1 parameter - local IP leak via WebRTC
No local IP or local IP is different for the same IP users = BOT TRAFFIC
4. IPW2 parameters - IPv6 leak via WebRTC - there is IPv6 BOT TRAFFIC
5. IPW3 settings - IPv4 leak via WebRTC. IPv4 is not equal to IP BOT TRAFFIC
6. Parameter Country (IP) - User country
7. Parameter Country code (IP) - Code table will be. Sometimes it's easier.
8. Parameter City (IP) - City
9. Parameter Region (IP) - Region
10. Parameter ISP (IP) - Internet provider. Often used in bot distribution. snippet example
PHP:
PHP:
<?php
if ($check["isp"]=="Yandex LLC")
{
echo "output the page to be indexed by Yandex";
}
elseif ($check["isp"]=="Google LLC")
{
echo "output the page to be indexed by Google";
}
elseif ($check["isp"]=="Yahoo! Inc.")
{
echo "displaying the page to be indexed by Yahoo";
}
else
{
echo "display page for normal user";
}
?>
11. Parameter latitude and longitude (IP). If you want to distribute traffic by ranges.
12. Connection type parameter (IP). If the user's connection type does not match -BOT TRAFFIC
13. Parameter time zone (IP).
14. IP DNS parameter. To obtain this parameter, configuration at the BIND level is required. This will be in the output.
15. Parameter Country (IP DNS)
16. Parameter Country Code (IP DNS)
17. Parameter City (IP DNS)
18. Parameter Region (IP DNS)
19. ISP setting (IP DNS)
20. Connection type parameter (IP DNS)
21. Time zone setting (IP DNS)
22. Parameter USERAGENT (PHP) - here it is clear the user agent received by PHP code
23. User agent type parameter (PHP)
Defined user agent types
1. Browser
2. Bot
3. Feed reader
4. Libraries
5. Mobile application
6. Personal information manager - PIM
7. Media players
24. Parameter user agent name (PHP) - there will be a table with the names of common bots and browsers
25. User agent version parameter (PHP)
26. Parameter user agent engine (PHP)
27. Parameter operating system name (PHP) - there will be a table with OS
28. Operating system version parameter (PHP)
29. Operating system bit depth parameter (PHP)
30. Device Parameter (PHP)
List of defined devices
1 Computer
2 Smartphone
3 tablet
4 Mobile phone
5 Console
6 TV
7 Car Browser
8 Smart display
9 Camera
10 Portable media player
11 Phablet