Author |
Topic |
|
kyodai
New Member
Azerbaijan
74 Posts |
Posted - 04 February 2011 : 14:47:43
|
This is a small script i made to be able to identify possible spam "bots". Well not the classic spam bots that post viagra links to be precise, i lately had loads of bots register that didnt post but had a link in like all custom fields to promote their site and get up in google ranks. Actually not all are really bots i think, at least some persons prolly were human it seems, but they all try to put a link to their site in either their signature , link 1 or otehr user defined fields.
Here's an example of how such a users profile can look like - 0 posts but links to his site in the profile:
http://forum.snitz.com/forum/pop_profile.asp?mode=display&id=34119
The reason they do that is to make links to their site more popular around the web to fool google and other search engines for better rankings. The search engines count all sites where a link to them appears, so more links out there makes the ranking going up. Or something like that. It became popular lately, i already have over 300 such link spammers.
So here is the first script, all it does is checking the signature field for containing http and making sure that it is NOT containing jpg, gif or png images (As such are usually legit signatures) or your forum name. In my example it checks for hiddenbelow.com which is my forum url, replace that with your forum url or any other keywords that you are sure dont appear in common link spam. It also weeds out results that have youtube in their signature as this is offsite but should only be used by "normal" users. Some people might be legit and have a link in their signature (If your forum rules allow that), maybe also add a condition like "AND M_POSTS < 5" to catch only people that have less than 5 posts (Spammers usually dont post much, at least not the link placing bots. If they post its usually only 1 or 2 posts. If they post a hundred times and you dont notice you have another problem anyways i guess).
Ideas for improvements and critics are welcome.
Edit: Already fixed a few bugs, working like a charm for me now
http://www.tankraider.com/userup/1296861674.zip
|
Edited by - kyodai on 04 February 2011 16:40:47 |
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 04 February 2011 : 17:30:43
|
hi,
i havnt tried this but sounds good, however, if you are not logged in, you cannot see a persons profile, so if a bot was to index your site, it wouldnt actually see any of those links because the bot doesnt have an account to log in to see the profile.
therefore in my undstanding, this wouldnt really stop that problem |
© 1999-2010 MaD2ko0l |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 04 February 2011 : 17:40:05
|
Thankyou for both of your new MODs, kyodai! |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 04 February 2011 : 17:42:23
|
This may work for me because I am working on a site that allows public profiles. |
Edited by - Etymon on 04 February 2011 17:42:39 |
|
|
kyodai
New Member
Azerbaijan
74 Posts |
Posted - 04 February 2011 : 18:12:29
|
Well yeah if you're hiding profiles this for sure got lower impact unless you allowed search engines to view profiles. However as it is looking at signatures it might still be delivering interesting results if you don't allow advertising in signatures or just wanna get an impression about how many of such bots registered (But will not be successful). I guess it can still be helpfull if you wanna clean up the DB and search for such "worthless" bot-alike users... It's not really a killer app, but it helped me identifying such accounts. it doesn't really stop the problem as it has no direct actions (But view the suspected offenders profile), i kinda wanted to get an overview of how many users fall into that category. Luckily it's not as many as i expected, but from the member numbers (Highest = last registered one) i can see that these became drastically more within the past months. |
Edited by - kyodai on 04 February 2011 18:15:09 |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 05 February 2011 : 08:06:59
|
Good work Kyodai! I was planning on creating something similar my self, but I'll have a look at your work instead.
|
portfolio - linkshrinker - oxle - twitter |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 06 February 2011 : 10:15:02
|
I converted the hard-coded stuff to variables (and put it into default Snitz "Response.Write" format so this won't need to be edited by anyone wishing to use it.
|
|
|
|
Topic |
|
|
|