Acunetix WP Security - Version 2.2.3.4

Version Description

Download this release

Release Info

Developer hallsofmontezuma
Plugin Icon wp plugin Acunetix WP Security
Version 2.2.3.4
Comparing to
See all releases

Code changes from version 2.2.3.3 to 2.2.3.4

Files changed (3) hide show
  1. menu.php +3 -15
  2. readme.txt +1 -1
  3. securityscan.php +5 -3
menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
- require_once(ABSPATH."wp-content/plugins/securityscan/functions.php");
4
- require_once(ABSPATH."wp-content/plugins/securityscan/scripts.js");
5
 
6
 
7
  function mrt_sub1(){
@@ -16,9 +16,7 @@ echo "<br /><strong>Password Strength Tool</strong>";
16
 
17
  Type password: <input type=password size=30 maxlength=50 name=password onkeyup="testPassword(document.forms.commandForm.password.value);" value="">
18
 
19
- <br/><font color="#808080">Minimum 6 Characters</td><td><font size="1"> Password Strength:</font><a id="Words"><table><tr><td><table><tr><td height=4 width=150 bgcolor=tan></td></tr></table></td><td> <b>Begin Typing</b></td></tr></table></a></td></tr></table>
20
-
21
- </td></tr></table>
22
 
23
 
24
 
@@ -35,36 +33,26 @@ echo "Strong Password: " . '<font color="red">' . make_password(15) . "</font>";
35
  {
36
  //Makes it easy to implement grammar rules.
37
  $password_flaws = array();
38
-
39
  $strlen = strlen($password);
40
-
41
  if($strlen <= 5)
42
  $password_flaws[sizeof($password_flaws)] = "too short";
43
-
44
  $count_chars = count_chars($password, 3);
45
-
46
  if(strlen($count_chars) < $strlen / 2)
47
  $password_flaws[sizeof($password_flaws)] = "too simple";
48
-
49
  //The function returns an empty string if the password is "good".
50
  $return_string = "";
51
  $sizeof = sizeof($password_flaws);
52
-
53
  for($index = 0; $index < $sizeof; $index++)
54
  {
55
  if($index == 0)
56
  $return_string .= "the password is ";
57
-
58
  if($index == $sizeof - 1 && $sizeof != 1)
59
  $return_string .= " and ";
60
-
61
  //this is in case i have more than 3 sources of error.
62
  if($index != 0 && $index != $sizeof - 1)
63
  $return_string .= ", ";
64
-
65
  $return_string .= $password_flaws[$index];
66
  }
67
-
68
  return($return_string);
69
  }
70
  */?>
1
  <?php
2
 
3
+ require_once(ABSPATH."wp-content/plugins/wp-security-scan/functions.php");
4
+ require_once(ABSPATH."wp-content/plugins/wp-security-scan/scripts.js");
5
 
6
 
7
  function mrt_sub1(){
16
 
17
  Type password: <input type=password size=30 maxlength=50 name=password onkeyup="testPassword(document.forms.commandForm.password.value);" value="">
18
 
19
+ <br/><font color="#808080">Minimum 6 Characters</td><td><font size="1"> Password Strength:</font><a id="Words"><table><tr><td><table><tr><td height=4 width=150 bgcolor=tan></td></tr></table></td><td> <b>Begin Typing</b></td></tr></table></a></td></tr></table></td></tr></table>
 
 
20
 
21
 
22
 
33
  {
34
  //Makes it easy to implement grammar rules.
35
  $password_flaws = array();
 
36
  $strlen = strlen($password);
 
37
  if($strlen <= 5)
38
  $password_flaws[sizeof($password_flaws)] = "too short";
 
39
  $count_chars = count_chars($password, 3);
 
40
  if(strlen($count_chars) < $strlen / 2)
41
  $password_flaws[sizeof($password_flaws)] = "too simple";
 
42
  //The function returns an empty string if the password is "good".
43
  $return_string = "";
44
  $sizeof = sizeof($password_flaws);
 
45
  for($index = 0; $index < $sizeof; $index++)
46
  {
47
  if($index == 0)
48
  $return_string .= "the password is ";
 
49
  if($index == $sizeof - 1 && $sizeof != 1)
50
  $return_string .= " and ";
 
51
  //this is in case i have more than 3 sources of error.
52
  if($index != 0 && $index != $sizeof - 1)
53
  $return_string .= ", ";
 
54
  $return_string .= $password_flaws[$index];
55
  }
 
56
  return($return_string);
57
  }
58
  */?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://semperfiwebdesign.com
4
  Tags: security, securityscan, chmod, permissions
5
  Requires at least: 2.0
6
  Tested up to: 2.5
7
- Stable tag: 2.2.3.3
8
 
9
  Scans your WordPress installation for security vulnerabilities.
10
 
4
  Tags: security, securityscan, chmod, permissions
5
  Requires at least: 2.0
6
  Tested up to: 2.5
7
+ Stable tag: 2.2.3.4
8
 
9
  Scans your WordPress installation for security vulnerabilities.
10
 
securityscan.php CHANGED
@@ -4,10 +4,10 @@ Plugin Name: WP Security Scan
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-security-scan/
5
  Description: Perform security scan of WordPress installation.
6
  Author: Michael Torbert
7
- Version: 2.2.3.3
8
  Author URI: http://semperfiwebdesign.com/
9
  */
10
- require_once(ABSPATH."wp-content/plugins/securityscan/menu.php");
11
  //require_once(ABSPATH."wp-content/plugins/securityscan/functions.php");
12
  //require_once(ABSPATH."wp-content/plugins/securityscan/scripts.js");
13
 
@@ -32,6 +32,7 @@ function check_perms($name,$path,$perm)
32
  echo '<td style="border:0px;">'. $path ."</td>";
33
  echo '<td style="border:0px;">' . $perm . '</td>';
34
  echo '<td style="border:0px;">' . $configmod . '</td>';
 
35
  echo "</tr>";
36
  }
37
 
@@ -39,7 +40,7 @@ function mrt_opt_mng_pg() {
39
  ?>
40
  <div class=wrap>
41
  <h2><?php _e('WP - Security Scan') ?></h2>
42
- <div style="height:299px">
43
  <div id="message" class="updated fade"><p><?php echo "SECURITY SCAN";?></p></div>
44
  <?php
45
 
@@ -58,6 +59,7 @@ echo $g2k5;?>
58
  <th style="border:0px;"><b>File/Dir</b></th>
59
  <th style="border:0px;"><b>Needed Chmod</b></th>
60
  <th style="border:0px;"><b>Current Chmod</b></th>
 
61
  </tr>
62
  <?php
63
  check_perms("root directory","../","0745");
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-security-scan/
5
  Description: Perform security scan of WordPress installation.
6
  Author: Michael Torbert
7
+ Version: 2.2.3.4
8
  Author URI: http://semperfiwebdesign.com/
9
  */
10
+ require_once(ABSPATH."wp-content/plugins/wp-security-scan/menu.php");
11
  //require_once(ABSPATH."wp-content/plugins/securityscan/functions.php");
12
  //require_once(ABSPATH."wp-content/plugins/securityscan/scripts.js");
13
 
32
  echo '<td style="border:0px;">'. $path ."</td>";
33
  echo '<td style="border:0px;">' . $perm . '</td>';
34
  echo '<td style="border:0px;">' . $configmod . '</td>';
35
+ // echo '<td style="border:0px;">' . '<input type="submit" name="' . $perm . '" value="Change now.">' . '</td>';
36
  echo "</tr>";
37
  }
38
 
40
  ?>
41
  <div class=wrap>
42
  <h2><?php _e('WP - Security Scan') ?></h2>
43
+ <div >
44
  <div id="message" class="updated fade"><p><?php echo "SECURITY SCAN";?></p></div>
45
  <?php
46
 
59
  <th style="border:0px;"><b>File/Dir</b></th>
60
  <th style="border:0px;"><b>Needed Chmod</b></th>
61
  <th style="border:0px;"><b>Current Chmod</b></th>
62
+ <!-- <th style="border:0px;"><b>Change Permissions</b></th>-->
63
  </tr>
64
  <?php
65
  check_perms("root directory","../","0745");