[email protected] address will start bouncing back as undeliverable.$ php cmd.php known-bots:fetch-f option to force updates, bypassing the "last updated" flag and re-fetching the latest bot definitions.$ php cmd.php known-bots:loadinternal_data/knownbots.json - if you download it manually and place the updated version in this location, you may then execute the above command to load the data without calling the API.$ php cmd.php known-bots:reprocess-a option to reprocess all known and unknown user agents - useful if a bot was misidentified but has been updated in the latest API data.$ php cmd.php known-bots:test {user-agent}$ php cmd.php known-bots:test "Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)"
Found robot: [ahrefs]
Title: AhrefsBot
-s option to save your user agent strings to the database for further processing.$ php cmd.php known-bots:check-token-r or --revalidate option to automatically attempt to revalidate and generate a new API token if athentication fails.[/SIZE]$ php cmd.php known-bots:send[SIZE=4][/SIZE][/SIZE]$ php cmd.php known-bots:parse {file}[SIZE=4][SIZE=4]-a or --agents option to simply list all user agents found in the supplied log file - no bot detection occurs[/SIZE][/SIZE]$ php cmd.php known-bots:parse --agents /var/log/nginx/xenforo/xenforo.access.log
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1
Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Mobile Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36 Edg/94.0.992.37
...[SIZE=4][SIZE=4]
[/SIZE][/SIZE]$ php cmd.php known-bots:parse /var/log/nginx/xenforo/xenforo.access.log
[postman ] PostmanRuntime/7.28.4
[guzzlehttp ] GuzzleHttp/7
[postman ] PostmanRuntime/7.29.0
[curl ] curl/7.68.0
...[SIZE=4][SIZE=4]
[/SIZE][/SIZE]$ cat /var/log/nginx/xenforo/xenforo.access.log | php cmd.php known-bots:parse -
...
$ php cmd.php known-bots:parse - < /var/log/nginx/xenforo/xenforo.access.log
...
$ tail -f /var/log/nginx/xenforo/xenforo.access.log | php cmd.php known-bots:parse -[SIZE=4][SIZE=4]
2400:8907:e001:xx::xxx - - [15/Aug/2023:00:00:07 +0000] "GET /api/bots?since=1691729327 HTTP/1.1" 200 119647 "-" "XenForo/2.x (https://www.example.com)"[email protected] address will start bouncing back as undeliverable.$ php cmd.php known-bots:fetch-f option to force updates, bypassing the "last updated" flag and re-fetching the latest bot definitions.$ php cmd.php known-bots:loadinternal_data/knownbots.json - if you download it manually and place the updated version in this location, you may then execute the above command to load the data without calling the API.$ php cmd.php known-bots:reprocess-a option to reprocess all known and unknown user agents - useful if a bot was misidentified but has been updated in the latest API data.$ php cmd.php known-bots:test {user-agent}$ php cmd.php known-bots:test "Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)"
Found robot: [ahrefs]
Title: AhrefsBot
-s option to save your user agent strings to the database for further processing.$ php cmd.php known-bots:check-token-r or --revalidate option to automatically attempt to revalidate and generate a new API token if athentication fails.[/SIZE]$ php cmd.php known-bots:send[SIZE=4][/SIZE][/SIZE]$ php cmd.php known-bots:parse {file}[SIZE=4][SIZE=4]-a or --agents option to simply list all user agents found in the supplied log file - no bot detection occurs[/SIZE][/SIZE]$ php cmd.php known-bots:parse --agents /var/log/nginx/xenforo/xenforo.access.log
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1
Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Mobile Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36 Edg/94.0.992.37
...[SIZE=4][SIZE=4]
[/SIZE][/SIZE]$ php cmd.php known-bots:parse /var/log/nginx/xenforo/xenforo.access.log
[postman ] PostmanRuntime/7.28.4
[guzzlehttp ] GuzzleHttp/7
[postman ] PostmanRuntime/7.29.0
[curl ] curl/7.68.0
...[SIZE=4][SIZE=4]
[/SIZE][/SIZE]$ cat /var/log/nginx/xenforo/xenforo.access.log | php cmd.php known-bots:parse -
...
$ php cmd.php known-bots:parse - < /var/log/nginx/xenforo/xenforo.access.log
...
$ tail -f /var/log/nginx/xenforo/xenforo.access.log | php cmd.php known-bots:parse -[SIZE=4][SIZE=4]
2400:8907:e001:xx::xxx - - [15/Aug/2023:00:00:07 +0000] "GET /api/bots?since=1691729327 HTTP/1.1" 200 119647 "-" "XenForo/2.x (https://www.example.com)"This resource has a discussion thread on the forum where you can ask questions, report issues, and talk with the author and other users.
Inactive member accounts are automatically deleted after 1 month. Some countries cannot register and are not allowed to register on this website, there is a reason for that.
All duplicate accounts will be banned and a warning will be issued to the primary account holder.
To ensure a positive and productive experience for everyone, please take a moment to review the site's guidelines and community rules outlined in the link here. Website Rules of Conduct