vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - SpamBuster: Identify, log and remove spam posts on your forum (https://vborg.vbsupport.ru/showthread.php?t=155242)

webghey 11-16-2007 03:36 AM

and you're logged in with an acct less than 10 posts? Not your own acct?

I went into the admincp - created a new user/login
log out of the admincp/site
log in as my test user - make a post about free ipods and viagra or something on sale..
log out..

log back in as admin - look at the post. Mine was invisible and caught by the program... and has caught quite a few spam threads.

I don't know what to tell you - the guy who wrote it will have to help maybe?

UK Jimbo 11-16-2007 07:17 AM

Quote:

Originally Posted by webghey (Post 1383532)
and you're logged in with an acct less than 10 posts? Not your own acct?

I went into the admincp - created a new user/login
log out of the admincp/site
log in as my test user - make a post about free ipods and viagra or something on sale..
log out..

log back in as admin - look at the post. Mine was invisible and caught by the program... and has caught quite a few spam threads.

I don't know what to tell you - the guy who wrote it will have to help maybe?

A sound advice (pretty much what I would have recommended). Looking at his last post though it seems he has it sorted.

Re: usergroup inclusion/exclusion
It's something that will be in a future release. I think if you look back through the thread someone might have a hack that does it.

lazytown 11-21-2007 10:30 AM

This is a great mod with only one major flaw.... That is the ability to specify whole words or boundaries. For example, if a person types the word "Virginia," the post will get flagged as spam (due to virgin in the rules). If they link to a jpeg (.jpg) it will get flagged as a link to japan (which is .jp). Without being able to detect spaces/etc or only matching a whole word, it becomes very difficult to make rules that work properly. I need a better understanding of the regular expressions used here.

As a side note -- is there a simple way to detect a link to any URL? Perhaps just the [url] BBcode?

-vissa

UK Jimbo 11-21-2007 10:47 AM

Quote:

Originally Posted by vissa (Post 1386785)
This is a great mod with only one major flaw.... That is the ability to specify whole words or boundaries. For example, if a person types the work "Virginia," the post will get flagged as spam (due to virgin in the rules). If they link to a jpeg (.jpg) it will get flagged as a link to japan (which is .jp). Without being able to detect spaces/etc or only matching a whole word, it becomes very difficult to make rules that work properly. I need a better understanding of the regular expressions used here.

That's a limitation of the current set of rules not of the mod itself.

You're quite right - it's overly aggressive and needs to be reworked (I posted about this a couple of months back).

It shouldn't be too hard to look for those strings with regular expressions like:

Code:

"/\Wvirgin\W/"
That would search for virgin with non "word" characters either side of it.

Quote:

Originally Posted by vissa (Post 1386785)
As a side note -- is there a simple way to detect a link to any URL? Perhaps just the [url] BBcode?

vB does automatic URL parsing as well so http://www.google.com/ would end up being stored without the [url] tags but would appear as a link in the page.

I think your safest bet is to look for http:// (remember to escape the / so it'll read http:\/\/ ni the config)

James

BadgerDog 11-21-2007 10:58 AM

Quote:

Originally Posted by vissa (Post 1386785)
This is a great mod with only one major flaw.... That is the ability to specify whole words or boundaries. For example, if a person types the work "Virginia," the post will get flagged as spam (due to virgin in the rules). If they link to a jpeg (.jpg) it will get flagged as a link to japan (which is .jp). Without being able to detect spaces/etc or only matching a whole word, it becomes very difficult to make rules that work properly. I need a better understanding of the regular expressions used here.

As a side note -- is there a simple way to detect a link to any URL? Perhaps just the [url] BBcode?

I agree ... :up:

It's a great mod that started out well on our forums, but it seems to be nailing an inordinate amount of posts that have nothing wrong with them, except things like your "Virginia" example....;)

Too bad.... :(

Have reduced post count check to "1" to see if that helps only nail those first time registration then immediately spam types...

Regards,
Badger

UK Jimbo 11-21-2007 11:06 AM

Quote:

Originally Posted by BadgerDog (Post 1386798)
It's a great mod that started out well on our forums, but it seems to be nailing an inordinate amount of posts that have nothing wrong with them, except things like your "Virginia" example....;)

I'd suggest reverting back to an older version of the rules and you shouldn't have these problems.


If anyone could do some refining of the rules that would be fantastic.

As and when I get the time I'd like to create a test setup where I can test the rules file against a set of known spam/geniune posts.

lazytown 11-21-2007 11:09 AM

Quote:

Originally Posted by UK Jimbo (Post 1386801)
I'd suggest reverting back to an older version of the rules and you shouldn't have these problems.


If anyone could do some refining of the rules that would be fantastic.

As and when I get the time I'd like to create a test setup where I can test the rules file against a set of known spam/geniune posts.


Thanks for the tips in the last couple of posts... Where can we get a list of the regular expression rules that are available/possible?

-vissa

UK Jimbo 11-21-2007 11:14 AM

Quote:

Originally Posted by vissa (Post 1386802)
Thanks for the tips in the last couple of posts... Where can we get a list of the regular expression rules that are available/possible?

The spambuster rules are all in the configuration/settings section of the admincp.

Google should show up some tutorials on perl regular expressions (which is the type of regular expression SpamBuster uses). Some of it can be a bit daunting though.

It should be fairly easy to modify the existing rules into the \Wvirgin\W style I described earlier.

BadgerDog 11-21-2007 11:17 AM

Quote:

Originally Posted by UK Jimbo (Post 1386801)
I'd suggest reverting back to an older version of the rules and you shouldn't have these problems.

I didn't know we could do that.... :)

It might help.... :up:

While maintaining the current code version, could you post the "old" rule set you refer to so we can plug it into the appropriate area under our AdminCP options?

Thanks...

Regards,
Badger

UK Jimbo 11-21-2007 11:25 AM

There's a text file at https://vborg.vbsupport.ru/showthread.php?t=109258 which you should be able to open then copy/paste into the settings section.


All times are GMT. The time now is 09:15 AM.

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.01157 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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