Version Description
Download this release
Release Info
Developer | error |
Plugin | Bad Behavior |
Version | 2.0.24 |
Comparing to | |
See all releases |
Code changes from version 2.0.23 to 2.0.24
- README.txt +1 -1
- bad-behavior-wordpress.php +1 -1
- bad-behavior/blacklist.inc.php +1 -0
- bad-behavior/common_tests.inc.php +2 -1
- bad-behavior/version.inc.php +1 -1
README.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: error, MarkJaquith, Firas, skeltoac
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=error%40ioerror%2eus&item_name=Bad%20Behavior%20%28From%20WordPress%20Page%29&no_shipping=1&cn=Comments%20about%20Bad%20Behavior&tax=0¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
|
5 |
Requires at least: 1.2
|
6 |
Tested up to: 2.7
|
7 |
-
Stable tag: 2.0.
|
8 |
|
9 |
Welcome to a whole new way of keeping your blog, forum, guestbook, wiki or
|
10 |
content management system free of link spam. Bad Behavior is a PHP-based
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=error%40ioerror%2eus&item_name=Bad%20Behavior%20%28From%20WordPress%20Page%29&no_shipping=1&cn=Comments%20about%20Bad%20Behavior&tax=0¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
|
5 |
Requires at least: 1.2
|
6 |
Tested up to: 2.7
|
7 |
+
Stable tag: 2.0.24
|
8 |
|
9 |
Welcome to a whole new way of keeping your blog, forum, guestbook, wiki or
|
10 |
content management system free of link spam. Bad Behavior is a PHP-based
|
bad-behavior-wordpress.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Bad Behavior
|
4 |
-
Version: 2.0.
|
5 |
Description: Deny automated spambots access to your PHP-based Web site.
|
6 |
Plugin URI: http://www.bad-behavior.ioerror.us/
|
7 |
Author: Michael Hampton
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Bad Behavior
|
4 |
+
Version: 2.0.24
|
5 |
Description: Deny automated spambots access to your PHP-based Web site.
|
6 |
Plugin URI: http://www.bad-behavior.ioerror.us/
|
7 |
Author: Michael Hampton
|
bad-behavior/blacklist.inc.php
CHANGED
@@ -72,6 +72,7 @@ function bb2_blacklist($package) {
|
|
72 |
".NET CLR 1)", // free poker, etc.
|
73 |
"POE-Component-Client", // free poker, etc.
|
74 |
"Turing Machine", // www.anonymizer.com abuse
|
|
|
75 |
"WebaltBot", // spam harvester
|
76 |
"WISEbot", // spam harvester
|
77 |
"WISEnutbot", // spam harvester
|
72 |
".NET CLR 1)", // free poker, etc.
|
73 |
"POE-Component-Client", // free poker, etc.
|
74 |
"Turing Machine", // www.anonymizer.com abuse
|
75 |
+
"User-agent: ", // spam harvester/splogger
|
76 |
"WebaltBot", // spam harvester
|
77 |
"WISEbot", // spam harvester
|
78 |
"WISEnutbot", // spam harvester
|
bad-behavior/common_tests.inc.php
CHANGED
@@ -24,7 +24,8 @@ function bb2_cookies($settings, $package)
|
|
24 |
{
|
25 |
// Enforce RFC 2965 sec 3.3.5 and 9.1
|
26 |
// Bots wanting new-style cookies should send Cookie2
|
27 |
-
|
|
|
28 |
return '6c502ff1';
|
29 |
}
|
30 |
return false;
|
24 |
{
|
25 |
// Enforce RFC 2965 sec 3.3.5 and 9.1
|
26 |
// Bots wanting new-style cookies should send Cookie2
|
27 |
+
// FIXME: Amazon Kindle is broken; Amazon has been notified 9/24/08
|
28 |
+
if (strpos($package['headers_mixed']['Cookie'], '$Version=0') !== FALSE && !array_key_exists('Cookie2', $package['headers_mixed']) && strpos($package['headers_mixed']['User-Agent'], "Kindle/") === FALSE) {
|
29 |
return '6c502ff1';
|
30 |
}
|
31 |
return false;
|
bad-behavior/version.inc.php
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
<?php if (!defined('BB2_CWD')) die("I said no cheating!");
|
2 |
-
define('BB2_VERSION', "2.0.
|
3 |
?>
|
1 |
<?php if (!defined('BB2_CWD')) die("I said no cheating!");
|
2 |
+
define('BB2_VERSION', "2.0.24");
|
3 |
?>
|