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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MysteryFCM

Pages: 1 ... 3 4 [5] 6 7 ... 14
61
BotScout Discussion / Re: Daily Limit one time extension
« on: July 25, 2009, 12:17:15 PM »
I don't see why not :)

62
Bah, I'm late as usual, hehe

Welcome to BS Howard :)

63
BotScout Discussion / Re: Curious spammer activity
« on: July 11, 2009, 11:20:45 AM »
The only possible reason I could think of, is to try and appear a little more "human", but given the nature of the activity, this is not one of the things things I'd have thought of if I was trying to do such.

64
BotScout Discussion / Re: Curious spammer activity
« on: July 11, 2009, 11:05:15 AM »
Hiya dude :)

I've never actually known a spambot do that, as there's usually little reason for it.

The IP belongs to our friends at the IST btw ;)

http://hosts-file.net/?s=212.95.54.172

65
BotScout Discussion / Re: Noobie comments
« on: July 04, 2009, 08:04:06 AM »
That would seem to imply it's either not flagging it properly, or not processing it properly. Could you try replacing;

Code: [Select]
   if ($returned_data[0] == 'Y' && $send_alerts)
   {
      require_once($sourcedir . '/Subs-Post.php');

      sendmail($webmaster_email, $txt['botscout_mail_subject'], sprintf($txt['botscout_mail_body'], $username, $email, $ip));
      fatal_lang_error('registration_disabled', false);
   }
   elseif ($returned_data[0] == 'Y')
      fatal_lang_error('registration_disabled', false);
   else
      return;
}

With;

Code: [Select]
if ($returned_data[0] == 'Y' && $send_alerts)
{
require_once($sourcedir . '/Subs-Post.php');
      sendmail($webmaster_email, $txt['botscout_mail_subject'], sprintf($txt['botscout_mail_body'], $username, $email, $ip));
      fatal_lang_error('registration_disabled', false);
    }else{
$debug=false;
    if ($returned_data[0] == 'Y'){
fatal_lang_error('registration_disabled', false);
}else{
return;
}
if($debug==true){
die('DEBUG: '.$returned_data[0]);
}
}

If it does the same thing, change $debug=false; to true, then re-run it so we can see what it contains.

I notice btw, that the query URL doesn't seem to be sending the username, did you change this? If so, change it back to;

Code: [Select]
$query = 'http://botscout.com/test/?multi&mail=' . $email .'&name=' . $username . '&ip=' . $ip . (!empty($APIKEY) ? '&key=' . $APIKEY : '')

66
BotScout Discussion / Re: Noobie comments
« on: July 03, 2009, 05:38:34 AM »
I've removed your key from the post (this should never be posted publicly)

I can't see anything wrong with the code. Can you tell me if the issue persists when you turn off $send_alerts ??

67
BotScout Discussion / Re: BotScout for Joomla 1.5.11
« on: June 29, 2009, 02:10:01 AM »
Our pleasure :)

68
BotScout Discussion / Re: Noobie comments
« on: June 28, 2009, 07:39:09 AM »
That is correct, yes. Can you post the full error message and the code you are using please?

Please also, as far as the e-mail is concerned, check the SMTP server is set correctly (if applicable)

69
BotScout Discussion / Re: Hello and thanks.
« on: June 27, 2009, 04:58:29 PM »
Welcome to BotScout, and thank you :)

70
BotScout Discussion / Re: BotScout for Joomla 1.5.11
« on: June 19, 2009, 10:26:19 AM »
Didn't know about undisposable.net ...... just added it into the SBST too :)

71
BotScout Discussion / Re: phpBB problem
« on: June 19, 2009, 05:18:27 AM »
No problem :)

72
BotScout Discussion / Re: Thanks, Harry!
« on: June 18, 2009, 10:37:12 AM »
Nice one :)

73
BotScout Discussion / Re: phpBB problem
« on: June 18, 2009, 10:02:44 AM »
If you've got BotScout.php in the same directory as register.php, you should be using;

Code: [Select]
include('BotScout.php');
Note, PHP is case sensitive when it comes to file and folder names.

74
BotScout Discussion / Re: Code Samples
« on: June 17, 2009, 10:02:36 PM »
PHP function for checking BotScout, generously provided by MysteryFCM

This code uses the "MULTI" query, which is the preferred (recommended)
way to run queries against the BotScout database.


Code: [Select]
// *********************************************************************************
// BEGIN CHECK BOTSCOUT
// *********************************************************************************
//
// Check the username etc against BotScout. Done using a single query for efficiency
// as we don't need multiple queries for the plain version.
//
// If any of the values are missing, BotScout will ignore them (better for us as it
// prevents us having to deal with them, which thus prevents spammers potentially
// abusing it)
//
public function CheckBotScout($sBSMail, $sBSIP, $sBSName){
$sBSAPI = ''; // YOUR API KEY HERE
$bFoundMatch=false;
// What do you want to base your match on?
//
// 1,2 = Match if username AND IP are listed
// 1,3 = Match if username and Email are listed
// 2,3 = Match if IP and Email are listed
//
// You can use more than one at a time if required, by seperating them with |, for example;
//
// $sBaseMatch = '1,2|2,3';
//
$sBaseMatch = '';
$sBSURL = 'http://botscout.com/test/?multi&key='.$sBSAPI.'&mail='.$sBSMail.'&ip='.$sBSIP.'&name='.$sBSName;
$fspamcheck = getURL($sBSURL);
// BotScout error codes begin with an apostrophe, so we'll check for those first
if (strpos($fspamcheck, '! ') !==False) {
$bFoundMatch = false; // If an error is returned, we can't determine if it was a hit or miss, so default to miss
echo 'Error: '.$fspamcheck;
}else{
// $sSpamData[3] = IP
// $sSpamData[5] = Email
// $sSpamData[7] = Username
if($_GET['debug']=='1'){echo 'SENT: '.$sBSURL.'RECEIVED: '.$fspamcheck.'<br>';}
$sSpamData = explode('|',$fspamcheck);
if($sSpamData[0] == 'Y'){
switch($BaseMatch){
case "1,2": // Match username and IP
if($sSpamData[7] > 0 && $sSpamData[3] > 0){$bFoundMatch = true;}else{$bFoundMatch = false;}
break;
case "1,3": // Match username and E-mail
if($sSpamData[7] > 0 && $sSpamData[5] > 0){$bFoundMatch = true;}else{$bFoundMatch = false;}
break;
case "2,3": // Match IP and E-mail
if($sSpamData[3] > 0 && $sSpamData[5] > 0){$bFoundMatch = true;}else{$bFoundMatch = false;}
break;
case "1,2|1,3": // Match username and IP OR username + E-mail
if($sSpamData[7] > 0 && $sSpamData[3] > 0 || $sSpamData[7] > 0 && $sSpamData[5] > 0){$bFoundMatch = true;}else{$bFoundMatch = false;}
break;
case "1,2|1,3|2,3": // Match username and IP OR username + E-mail OR IP + E-mail
if($sSpamData[7] > 0 && $sSpamData[3] > 0 || $sSpamData[7] > 0 && $sSpamData[5] > 0 || $sSpamData[3] > 0 && $sSpamData[5] > 0){$bFoundMatch = true;}else{$bFoundMatch = false;}
break;
case "1,2|2,3": // Match username and IP OR IP + E-mail
if($sSpamData[7] > 0 && $sSpamData[3] > 0 || $sSpamData[3] > 0 && $sSpamData[5] > 0){$bFoundMatch = true;}else{$bFoundMatch = false;}
break;
case "1,3|2,3": // Match username and Email OR IP + E-mail
if($sSpamData[7] > 0 && $sSpamData[5] > 0 || $sSpamData[3] > 0 && $sSpamData[5] > 0){$bFoundMatch = true;}else{$bFoundMatch = false;}
break;
case "1,2,3": // Match Username, IP and E-mail
if($sSpamData[7] > 0 && $sSpamData[3] > 0 && $sSpamData[5] > 0){$bFoundMatch = true;}else{$bFoundMatch = false;}
break;
default:
$bFoundMatch = true; break;
} // End Switch
}else{
$bFoundMatch = false;
} // End if($sSpamData[0] ...
} // End if (strpos($fspamcheck, '! ') !==False)
if($bFoundMatch==true){
return 'TRUE';
}else{
return 'FALSE';
} // End if($bFoundMatch==true)
}
// *********************************************************************************
// END CHECK BOTSCOUT
// *********************************************************************************

75
BotScout Discussion / Re: For real man...
« on: June 16, 2009, 05:06:24 PM »
Welcome to BS kryka :)

/edit

There's a contact page for the BS admin's at;

http://botscout.com/contact.htm

It's linked to on the "About" page ;)

Pages: 1 ... 3 4 [5] 6 7 ... 14