Welcome, Guest!!
follow us on... rss

Author Topic: Just a note ....  (Read 16476 times)

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 197
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #60 on: February 22, 2009, 05:23:15 pm »
Spambot Search Tool v0.22 has been released :)

Changes:

+ Added function to check if server is online
+ Added notes to top of all files
* Moved getURL function to functions.php
* Re-written e-mail validation as a function and moved to functions.php
* Replaced IP validation with function by Mike (botscout.com)
* Moved old IP validation routine to functions.php and re-written as function
* Partial re-write of Spamhaus query routine in check_spammers_plain.php
* Fixed fSpamList SimpleXMLElement check (was only checking $xml->Email instead of all 3)
* Modified ProjectHoneyPot query so "Search Engine" and "Suspicious" aren't flagged when using check_spammers_plain.php
* Fixed SpamHaus query so PBL and CBL aren't flagged when using check_spammers_plain.php

Download:
http://support.it-mate.co.uk/?mode=Products&act=DL&p=spambotsearchtool

Next to add is the caching :)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 197
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #61 on: February 22, 2009, 06:07:30 pm »
Didn't manage to add the code I mentioned previously (concerning usernames) as it kept borking, so gotta figure out where I went wrong :)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 197
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #62 on: February 25, 2009, 08:09:00 am »
Had a friend unable to get the SBST to work correctly, and narrowed the problem down to file_put_contents() not being available, and get_headers() not being available, so modified the isURLOnline function to;

Code: [Select]
function isURLOnline($sSiteToCheck){
if(function_exists('get_headers')==True){
$sIUOTemp = @get_headers($sSiteToCheck);
if(strpos($sIUOTemp[0], '200') == true){
return true;
}else{
return false;
}
}else{
return true; // Assume true if we can't check it .......
}
}

Thought the @ was supposed to supress errors, but I guess not ....
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 197
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #63 on: March 11, 2009, 08:00:36 pm »
v0.24 12-03-09 :)

Changes:

+ Added extra match options for $BaseMatch var (you can now use multiple match selections without manually editing the switch codes)
* Fixed counter increments when check_spammers_plain.php is queried, regardless of whether or $spambot = true
* Moved counter control to IncreaseCatchCount() function to save code duplication
* Moved text file controls (for logging spammers) to LogSpammerToFile function to save code duplication
* Username passed is now wrapped in htmlentities() and urlencode() for additional security (albeit not much)
+ Added optional logging to MySQL database (created automagically if it doesn't exist). To enable this, see config.php
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net