Bad Behavior - Version 2.0.14

Version Description

Download this release

Release Info

Developer error
Plugin Icon wp plugin Bad Behavior
Version 2.0.14
Comparing to
See all releases

Code changes from version 2.0.13 to 2.0.14

README.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Bad Behavior ===
2
  Tags: comment,trackback,referrer,spam,robot,antispam
3
  Contributors: error, MarkJaquith, Firas, skeltoac
4
- Donate link: http://www.bad-behavior.ioerror.us/
5
  Requires at least: 1.2
6
- Tested up to: 2.3.2
7
- Stable tag: 2.0.13
8
 
9
  Bad Behavior is a set of PHP scripts which prevents spambots and other
10
  malicious accesses to your PHP-based Web site. It prevents comment spam,
@@ -24,6 +24,13 @@ manner most appropriate to each platform. It's usually sufficient to
24
  follow the generic instructions for installing any plugin or extension
25
  for your host software.
26
 
 
 
 
 
 
 
 
27
  For complete documentation and installation instructions, please visit
28
  http://www.bad-behavior.ioerror.us/
29
 
1
  === Bad Behavior ===
2
  Tags: comment,trackback,referrer,spam,robot,antispam
3
  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&currency_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
5
  Requires at least: 1.2
6
+ Tested up to: 2.5
7
+ Stable tag: 2.0.14
8
 
9
  Bad Behavior is a set of PHP scripts which prevents spambots and other
10
  malicious accesses to your PHP-based Web site. It prevents comment spam,
24
  follow the generic instructions for installing any plugin or extension
25
  for your host software.
26
 
27
+ On MediaWiki, it is necessary to add a second line to LocalSettings.php
28
+ when installing the extension. Your LocalSettings.php should include
29
+ the following:
30
+
31
+ ` include_once( 'includes/DatabaseFunctions.php' );
32
+ include( './extensions/Bad-Behavior/bad-behavior-mediawiki.php' );
33
+
34
  For complete documentation and installation instructions, please visit
35
  http://www.bad-behavior.ioerror.us/
36
 
bad-behavior-wordpress.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Bad Behavior
4
- Version: 2.0.13
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.14
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
@@ -38,7 +38,8 @@ function bb2_blacklist($package) {
38
  "psycheclone", // spam harvester
39
  "PussyCat ", // misc comment spam
40
  "PycURL", // misc comment spam
41
- "Shockwave Flash", // spam harvester
 
42
  "TrackBack/", // trackback spam
43
  "user", // suspicious harvester
44
  "User Agent: ", // spam harvester
38
  "psycheclone", // spam harvester
39
  "PussyCat ", // misc comment spam
40
  "PycURL", // misc comment spam
41
+ // "Shockwave Flash", // spam harvester
42
+ // WP 2.5 now has Flash; FIXME
43
  "TrackBack/", // trackback spam
44
  "user", // suspicious harvester
45
  "User Agent: ", // spam harvester
bad-behavior/mozilla.inc.php CHANGED
@@ -8,7 +8,7 @@ function bb2_mozilla($package)
8
  // Google Desktop fixed it, but apparently some old versions are
9
  // still out there. :(
10
  // Always check accept header for Mozilla user agents
11
- if (strpos($package['headers_mixed']['User-Agent'], "Google Desktop") === FALSE) {
12
  if (!array_key_exists('Accept', $package['headers_mixed'])) {
13
  return "17566707";
14
  }
8
  // Google Desktop fixed it, but apparently some old versions are
9
  // still out there. :(
10
  // Always check accept header for Mozilla user agents
11
+ if (strpos($package['headers_mixed']['User-Agent'], "Google Desktop") === FALSE && strpos($package['headers_mixed']['User-Agent'], "PLAYSTATION 3") === FALSE) {
12
  if (!array_key_exists('Accept', $package['headers_mixed'])) {
13
  return "17566707";
14
  }
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.13");
3
  ?>
1
  <?php if (!defined('BB2_CWD')) die("I said no cheating!");
2
+ define('BB2_VERSION', "2.0.14");
3
  ?>