Miscellaneous ⇒ Search Engines ⇒ [solved] Rampaging bots ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexSearch Engines

[solved] Rampaging bots Reply to topic


Thats for sure not the best way to ask a simple question.

I google it.

Beside, Yahoo and MSN are included already, recognized using by their ip ranges and not by the user agent which can be easily modified.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


erm ok then, I did ask it in the very first post, to which everyone answered they had no idea, so assumed it can't be done if the experts don't know.

I would hazard a guess that both MSN and Yahoo bots have evolved over time, as I can assure you the ones listed are different to the ones currently trawling us.

Which is why it should be an easily updateable page I guess.

Sorry to trouble, back to google for me then.

The end result to this is still the same for me though, I can't add new bots.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0


What you can do to confirm that they are evolved, which is highly possible, and we missed to add those new ip ranges to our list is:

open /includes/db/db.php and at line 83 replace $the_error ... with
$the_error .= "\r\n\r\nGuest information:\r\nUser id: ".$userinfo['user_id']."\r\nUsername: ".(SEARCHBOT ? SEARCHBOT : $userinfo['username'])."\r\nAdmin: ".($show ? 'Yes' : 'No')."\r\nIP: $addr\r\nHost: $host";

The above is one line only, not 2 or 3 lines depends how your browsers wrapped it.

This corrected code will try to catch the bot name, otherwise the user name.
Next SQL error you have after editing the code should tell you, and us, if we registered that ip as bot or not.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


think i found the worst 2.

www.useragentstring.co...d_8652.php

www.useragentstring.co...d_3231.php

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0

All times are UTC


Jump to: