vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Ban Spiders by User Agent (https://vborg.vbsupport.ru/showthread.php?t=268208)

ForceHSS 10-28-2011 07:07 PM

Quote:

Originally Posted by Alibass (Post 2262408)
Installed and voted MOTM

I have a question, I've got a bot that's been sitting on my site for days.

It's UA is Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 2.0; and it shows in WOL as hosted-by.leaseweb.com
How can I get rid of this one other than blocking IP?

block its host

Alibass 10-28-2011 07:14 PM

Quote:

Originally Posted by ForceHSS (Post 2262412)
block its host

Are you talking about using this program and if so how or you talking about blocking in htaccess?

Simon Lloyd 10-28-2011 08:56 PM

Quote:

Originally Posted by Alibass (Post 2262408)
Installed and voted MOTM

I have a question, I've got a bot that's been sitting on my site for days.

It's UA is Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 2.0; and it shows in WOL as hosted-by.leaseweb.com
How can I get rid of this one other than blocking IP?

What is it's full useragent?

Quote:

Originally Posted by Alibass (Post 2262414)
Are you talking about using this program and if so how or you talking about blocking in htaccess?

Not htaccess but with this mod...although i do have a similar mod that bans ip addresses:)

Alibass 10-28-2011 09:04 PM

Quote:

Originally Posted by ForceHSS (Post 2262412)
block its host

Quote:

Originally Posted by Simon Lloyd (Post 2262442)
What is it's full useragent?

Not htaccess but with this mod...although i do have a similar mod that bans ip addresses:)

All I see is this,

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 2.0; )

ForceHSS 10-28-2011 10:18 PM

Quote:

Originally Posted by Alibass (Post 2262414)
Are you talking about using this program and if so how or you talking about blocking in htaccess?

use this program to block his host this is what it is for

Alibass 10-28-2011 10:30 PM

Quote:

Originally Posted by ForceHSS (Post 2262469)
use this program to block his host this is what it is for

As I posted in my first post the user-agent is,

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 2.0; )

Web host is,

hosted-by.leaseweb.com

I have tried both of these in the spider list of this program and it doesn't work. Now f there is another way using this program then please let me know.

ForceHSS 10-29-2011 12:18 AM

do you have the option Ban Spiders In List = yes

Alibass 10-29-2011 12:53 AM

Quote:

Originally Posted by ForceHSS (Post 2262500)
do you have the option Ban Spiders In List = yes

The mod works fine and as it was designed to do, I just cant get rid of this one bot without blocking the IP.

The user-agent is not like the others and I cant tag it in the spider list to work correctly. Look at the UA I posted and you can see there is no bot name listed in the UA. If someone can tell me what to add to the spider list to block this bot then that's great, but if not please don't ask me if I have things ticked a certain way. This is a simple mod to use and by no means my first rodeo with mods. I'll just block the the IP range if no one can give me an answer without asking me a hundred questions.
Sorry mate, not trying to be rude but I'm looking for an answer to my question if someone knows it, not looking for questions. Thanks

Simon Lloyd 10-29-2011 10:43 AM

Quote:

Originally Posted by Alibass (Post 2262504)
The mod works fine and as it was designed to do, I just cant get rid of this one bot without blocking the IP.

The user-agent is not like the others and I cant tag it in the spider list to work correctly. Look at the UA I posted and you can see there is no bot name listed in the UA. If someone can tell me what to add to the spider list to block this bot then that's great, but if not please don't ask me if I have things ticked a certain way. This is a simple mod to use and by no means my first rodeo with mods. I'll just block the the IP range if no one can give me an answer without asking me a hundred questions.
Sorry mate, not trying to be rude but I'm looking for an answer to my question if someone knows it, not looking for questions. Thanks

This mod will do its job, simply enter the entire User Agent string in the list to ban and the mod will take care of the rest :)

If you experience further trouble i will investigate that bot further, i had a similar issue with a bot i thought i was banning, but then found the UA didn't contain the bot name, so in this instance i had to use the entire UA as i found it. Over the last few pages of this thread you will see i've posted links on how you can check UA's against your site or find UA's...etc, have a look for those links as they will help you in the fight against the bots ;)

Simon Lloyd 10-29-2011 10:51 AM

Here's another of leaswebs UA's;
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6

So again, enter this entire UA to ban them :)

Edit: Here's a few more!
Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90; Creative)
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MRA 4.6 (build 01425); MRSPUTNIK 1, 5, 0, 19
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Netscape/8.0.4
Mozilla/4.76 [en] (Windows NT 5.0; U)

The above UA's are a little older but there's still a possibility of them using them, as you can see from the timings of these posts (or edits) with a little research and the help of Google you too can find the UA's that you want to ban.


All times are GMT. The time now is 01:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01420 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete