Anti-Malware Security and Brute-Force Firewall - Version 4.14.64

Version Description

  • Improved the encoding of definition updates so that they would not be blocked by poorly written firewall rules.
  • Suppressed the "Please make a donation" nag if the fix was unsuccessful, to avoid confusion over premium services.
Download this release

Release Info

Developer scheeeli
Plugin Icon 128x128 Anti-Malware Security and Brute-Force Firewall
Version 4.14.64
Comparing to
See all releases

Code changes from version 4.14.63 to 4.14.64

Files changed (4) hide show
  1. images/index.php +2 -2
  2. index.php +5 -7
  3. readme.txt +10 -3
  4. safe-load/index.php +1 -1
images/index.php CHANGED
@@ -10,7 +10,7 @@ function GOTMLS_define($DEF, $val) {
10
  define($DEF, $val);
11
  }}
12
 
13
- GOTMLS_define("GOTMLS_Version", "4.14.63");
14
  GOTMLS_define("GOTMLS_require_version", "3.3");
15
  GOTMLS_define("GOTMLS_plugin_dir", "gotmls");
16
  GOTMLS_define("GOTMLS_local_images_path", dirname(__FILE__)."/");
@@ -37,7 +37,7 @@ function GOTMLS_decode($encoded_string) {
37
  $tail = substr($encoded_string, -1) - 1;
38
  else
39
  $encoded_string .= "$tail";
40
- $encoded_string = strtr(substr($encoded_string, 0, -1), "-_", "+/").str_repeat("=", $tail);
41
  if (function_exists("base64_decode"))
42
  return base64_decode($encoded_string);
43
  elseif (function_exists("mb_convert_encoding"))
10
  define($DEF, $val);
11
  }}
12
 
13
+ GOTMLS_define("GOTMLS_Version", "4.14.64");
14
  GOTMLS_define("GOTMLS_require_version", "3.3");
15
  GOTMLS_define("GOTMLS_plugin_dir", "gotmls");
16
  GOTMLS_define("GOTMLS_local_images_path", dirname(__FILE__)."/");
37
  $tail = substr($encoded_string, -1) - 1;
38
  else
39
  $encoded_string .= "$tail";
40
+ $encoded_string = strtr(substr($encoded_string, 0, -1), "-_=", "+/0").str_repeat("=", $tail);
41
  if (function_exists("base64_decode"))
42
  return base64_decode($encoded_string);
43
  elseif (function_exists("mb_convert_encoding"))
index.php CHANGED
@@ -8,7 +8,7 @@ Author URI: http://wordpress.ieonly.com/category/my-plugins/anti-malware/
8
  Contributors: scheeeli, gotmls
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZHD8QHZ2E7PE
10
  Description: This Anti-Virus/Anti-Malware plugin searches for Malware and other Virus like threats and vulnerabilities on your server and helps you remove them. It's always growing and changing to adapt to new threats so let me know if it's not working for you.
11
- Version: 4.14.63
12
  */
13
  if (isset($_SERVER["DOCUMENT_ROOT"]) && ($SCRIPT_FILE = str_replace($_SERVER["DOCUMENT_ROOT"], "", isset($_SERVER["SCRIPT_FILENAME"])?$_SERVER["SCRIPT_FILENAME"]:isset($_SERVER["SCRIPT_NAME"])?$_SERVER["SCRIPT_NAME"]:"")) && strlen($SCRIPT_FILE) > strlen("/".basename(__FILE__)) && substr(__FILE__, -1 * strlen($SCRIPT_FILE)) == substr($SCRIPT_FILE, -1 * strlen(__FILE__)))
14
  include(dirname(__FILE__)."/safe-load/index.php");
@@ -383,12 +383,10 @@ setDiv("div_file");
383
  return false;
384
  }
385
  function check_for_donation(chk) {
386
- if (document.getElementById("autoUpdateDownload").src.replace(/^.+\?/,"")=="0") {
387
- alert(chk+"\\n\\n'.__("Please make a donation for the use of this wonderful feature!",'gotmls').'");
388
- if (check_for_registration() && chk.substr(0, 8) == "Changed " && chk.substr(8, 1) != "0")
389
- window.open("'.GOTMLS_update_home.'donate.php?donation-source="+chk, "_blank");
390
- } else
391
- alert(chk);
392
  }
393
  function sinupFormValidate(form) {
394
  var error = "";
8
  Contributors: scheeeli, gotmls
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZHD8QHZ2E7PE
10
  Description: This Anti-Virus/Anti-Malware plugin searches for Malware and other Virus like threats and vulnerabilities on your server and helps you remove them. It's always growing and changing to adapt to new threats so let me know if it's not working for you.
11
+ Version: 4.14.64
12
  */
13
  if (isset($_SERVER["DOCUMENT_ROOT"]) && ($SCRIPT_FILE = str_replace($_SERVER["DOCUMENT_ROOT"], "", isset($_SERVER["SCRIPT_FILENAME"])?$_SERVER["SCRIPT_FILENAME"]:isset($_SERVER["SCRIPT_NAME"])?$_SERVER["SCRIPT_NAME"]:"")) && strlen($SCRIPT_FILE) > strlen("/".basename(__FILE__)) && substr(__FILE__, -1 * strlen($SCRIPT_FILE)) == substr($SCRIPT_FILE, -1 * strlen(__FILE__)))
14
  include(dirname(__FILE__)."/safe-load/index.php");
383
  return false;
384
  }
385
  function check_for_donation(chk) {
386
+ if (document.getElementById("autoUpdateDownload").src.replace(/^.+\?/,"")=="0")
387
+ if (chk.substr(0, 8) != "Changed " || chk.substr(8, 1) != "0")
388
+ chk += "\\n\\n'.__("Please make a donation for the use of this wonderful feature!",'gotmls').'";
389
+ alert(chk);
 
 
390
  }
391
  function sinupFormValidate(form) {
392
  var error = "";
readme.txt CHANGED
@@ -5,8 +5,8 @@ Author URI: http://wordpress.ieonly.com/category/my-plugins/anti-malware/
5
  Contributors: scheeeli, gotmls
6
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZHD8QHZ2E7PE
7
  Tags: anti-malware, security, plugin, scan, automatic, repair, remove, malware, virus, threat, hacked, malicious, scripts, infection, timthumb, exploit, block, brute-force, wp-login, patch, antimalware, revslider, Revolution Slider
8
- Version: 4.14.63
9
- Stable tag: 4.14.63
10
  Requires at least: 3.3
11
  Tested up to: 4.1.1
12
 
@@ -24,7 +24,7 @@ This Anti-Malware plugin searches for Malware and other Virus like threats and s
24
  * Run a Complete Scan from the Settings Page.
25
  * Download Definition Updates to protect against new threats.
26
 
27
- Updated March 17th
28
 
29
  Register this plugin at [GOTMLS.NET](http://gotmls.net/) and get access to new definitions of "Known Threats" and added features like Automatic Removal, plus patches for specific security vulnerabilities like old versions of timthumb. Updated definition files can be downloaded automatically within the admin once your Key is registered. Otherwise, this plugin just scans for "Potential Threats" and leaves it up to you to identify and remove the malicious ones.
30
 
@@ -89,6 +89,10 @@ sucuri.net caches their scan results and will not refresh the scan until you cli
89
 
90
  == Changelog ==
91
 
 
 
 
 
92
  = 4.14.63 =
93
  * Removed debug alert from initial session check.
94
 
@@ -298,6 +302,9 @@ sucuri.net caches their scan results and will not refresh the scan until you cli
298
 
299
  == Upgrade Notice ==
300
 
 
 
 
301
  = 4.14.63 =
302
  Removed debug alert from initial session check.
303
 
5
  Contributors: scheeeli, gotmls
6
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZHD8QHZ2E7PE
7
  Tags: anti-malware, security, plugin, scan, automatic, repair, remove, malware, virus, threat, hacked, malicious, scripts, infection, timthumb, exploit, block, brute-force, wp-login, patch, antimalware, revslider, Revolution Slider
8
+ Version: 4.14.64
9
+ Stable tag: 4.14.64
10
  Requires at least: 3.3
11
  Tested up to: 4.1.1
12
 
24
  * Run a Complete Scan from the Settings Page.
25
  * Download Definition Updates to protect against new threats.
26
 
27
+ Updated March 20th
28
 
29
  Register this plugin at [GOTMLS.NET](http://gotmls.net/) and get access to new definitions of "Known Threats" and added features like Automatic Removal, plus patches for specific security vulnerabilities like old versions of timthumb. Updated definition files can be downloaded automatically within the admin once your Key is registered. Otherwise, this plugin just scans for "Potential Threats" and leaves it up to you to identify and remove the malicious ones.
30
 
89
 
90
  == Changelog ==
91
 
92
+ = 4.14.64 =
93
+ * Improved the encoding of definition updates so that they would not be blocked by poorly written firewall rules.
94
+ * Suppressed the "Please make a donation" nag if the fix was unsuccessful, to avoid confusion over premium services.
95
+
96
  = 4.14.63 =
97
  * Removed debug alert from initial session check.
98
 
302
 
303
  == Upgrade Notice ==
304
 
305
+ = 4.14.64 =
306
+ Improved the encoding of definition updates and suppressed the "Please make a donation" nag if the fix was unsuccessful.
307
+
308
  = 4.14.63 =
309
  Removed debug alert from initial session check.
310
 
safe-load/index.php CHANGED
@@ -12,5 +12,5 @@ foreach (array("REMOTE_ADDR", "HTTP_HOST", "REQUEST_URI", "HTTP_REFERER", "HTTP_
12
  $_SESSION["GOTMLS_detected_attacks"] .= (isset($_SERVER[$var])?"&SERVER_$var=".urlencode($_SERVER[$var]):"");
13
  foreach (array("log") as $var)
14
  $_SESSION["GOTMLS_detected_attacks"] .= (isset($_POST[$var])?"&POST_$var=".urlencode($_POST[$var]):"");
15
- header("location: http://safe-load.gotmls.net/report.php?ver=4.14.63".$_SESSION["GOTMLS_detected_attacks"]);
16
  die();
12
  $_SESSION["GOTMLS_detected_attacks"] .= (isset($_SERVER[$var])?"&SERVER_$var=".urlencode($_SERVER[$var]):"");
13
  foreach (array("log") as $var)
14
  $_SESSION["GOTMLS_detected_attacks"] .= (isset($_POST[$var])?"&POST_$var=".urlencode($_POST[$var]):"");
15
+ header("location: http://safe-load.gotmls.net/report.php?ver=4.14.64".$_SESSION["GOTMLS_detected_attacks"]);
16
  die();