This was originally written by
Smurf_Minions to allow people to query the StopForumSpam database. I've heavily modified the original code so it now allows you to query;
1. fSpamlist -
www.fspamlist.com2. StopForumSpam -
www.stopforumspam.com3. Sorbs* -
sorbs.net4. Spamhaus* -
www.spamhaus.org5. DSBL* - www.dsbl.org6. SpamCop* -
www.spamcop.net7. ProjectHoneyPot** -
www.projecthoneypot.orgQuote:
* IP queries only obviously
In the case of Spamhaus, this will also tell you which blacklist it is listed in (e.g. PBL, CBL, XBL)
** ProjectHoneyPot requires you have a valid API key before you can query their database
An example of this can be found at;
http://fspamlist.com/checkspammers/?nam ... 2.95.54.36Or
http://temerc.com/Check_Spammers/?name= ... 2.95.54.36In addition to being a standalone "application", you can also use it in your own forums, guestbooks and such, by utilizing the check_spammers_plain.php file. This file will return ONLY the results of the query, without any HTML or other such formatting. I've been playing with a few forums and have created posts for those that I have successfully created working mods for;
viewforum.php?f=71Download:http://fspamlist.com/checkspammers/check_spammers.ziphttp://temerc.com/Check_Spammers/check_spammers.zipInstallation:All you need to do to install this is;
1. Extract the zip and upload the check_spammers folder (including ALL of it's contents) to your web server (you can place it absolutely anywhere on your server, it doesn't require a specific location).
2. Enter your ProjectHoneyPot and BotScout API keys in config.php (it'll ignore these databases if you do not specify them and will notify you on the web interface)
3. Ensure the "spambots" folder is writable (if you've asked it to write the results to text files, otherwise you can ignore this)
You can then either use it standalone, or via your own scripts, or via one of the mods posted to this forum (see above). Ensure you change the URL in the mod, to the URL representing the check_spammers folder location on your web server. For example;
Code:
$fspamcheck = file_get_contents('/somewhere/on/your/website/check_spammers_plain.php?name='.$username.'&ip='.$sPostersIP);
Where /somewhere/on/your/website/ is the path to the check_spammers folderMisc:An ASP function that allows you to query the blacklist, is available from;
viewtopic.php?f=71&t=6234This is a re-post of the original that was previously at the old fSpamlist forums