Acunetix WP Security - Version 2.2.1

Version Description

Download this release

Release Info

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

Code changes from version 2.2 to 2.2.1

Files changed (4) hide show
  1. readme.txt +1 -1
  2. securityscan.php +1 -1
  3. trunk/readme.txt +66 -0
  4. trunk/securityscan.php +56 -0
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://semperfiwebdesign.com
4
  Tags: security, securityscan, chmod, permissions
5
  Requires at least: 2.0.2
6
  Tested up to: 2.5
7
- Stable tag: 2.2
8
 
9
  Scans your WordPress installation for security vulnerabilities.
10
 
4
  Tags: security, securityscan, chmod, permissions
5
  Requires at least: 2.0.2
6
  Tested up to: 2.5
7
+ Stable tag: 2.2.1
8
 
9
  Scans your WordPress installation for security vulnerabilities.
10
 
securityscan.php CHANGED
@@ -4,7 +4,7 @@ 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
8
  Author URI: http://semperfiwebdesign.com/
9
  */
10
 
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.1
8
  Author URI: http://semperfiwebdesign.com/
9
  */
10
 
trunk/readme.txt ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: hallsofmontezuma
3
+ Donate link: http://semperfiwebdesign.com
4
+ Tags: security, securityscan, chmod, permissions
5
+ Requires at least: 2.0.2
6
+ Tested up to: 2.5
7
+ Stable tag: 2.2.1
8
+
9
+ Scans your WordPress installation for security vulnerabilities.
10
+
11
+ == Description ==
12
+
13
+ Scans your WordPress installation for security vulnerabilities and suggests
14
+ corrective actions.
15
+
16
+ == Installation ==
17
+
18
+ 1. Upload `securityscan.php` to the `/wp-content/plugins/` directory
19
+ 2. Activate the plugin through the 'Plugins' menu in WordPress
20
+
21
+ == Frequently Asked Questions ==
22
+
23
+ = A question that someone might have =
24
+
25
+ An answer to that question.
26
+
27
+ = What about foo bar? =
28
+
29
+ Answer to foo bar dilemma.
30
+
31
+ == Screenshots ==
32
+
33
+ 1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
34
+ the directory of the stable readme.txt, so in this case, `/tags/4.3/screenshot-1.png` (or jpg, jpeg, gif)
35
+ 2. This is the second screen shot
36
+
37
+ == Arbitrary section ==
38
+
39
+ You may provide arbitrary sections, in the same format as the ones above. This may be of use for extremely complicated
40
+ plugins where more information needs to be conveyed that doesn't fit into the categories of "description" or
41
+ "installation." Arbitrary sections will be shown below the built-in sections outlined above.
42
+
43
+ == A brief Markdown Example ==
44
+
45
+ Ordered list:
46
+
47
+ 1. Some feature
48
+ 1. Another feature
49
+ 1. Something else about the plugin
50
+
51
+ Unordered list:
52
+
53
+ * something
54
+ * something else
55
+ * third thing
56
+
57
+ Here's a link to [WordPress](http://wordpress.org/ "Your favorite software") and one to [Markdown's Syntax Documentation][markdown syntax].
58
+ Titles are optional, naturally.
59
+
60
+ [markdown syntax]: http://daringfireball.net/projects/markdown/syntax
61
+ "Markdown is what the parser uses to process much of the readme file"
62
+
63
+ Markdown uses email style notation for blockquotes and I've been told:
64
+ > Asterisks for *emphasis*. Double it up for **strong**.
65
+
66
+ `<?php code(); // goes in backticks ?>`
trunk/securityscan.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ 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.1
8
+ Author URI: http://semperfiwebdesign.com/
9
+ */
10
+
11
+ add_action('admin_menu', 'add_men_pg');
12
+
13
+ function add_men_pg() {
14
+ add_menu_page('Security Scan', 'Security Scan', 10, basename(__FILE__), 'mrt_opt_mng_pg');
15
+ }
16
+
17
+ function check_perms($path,$perm)
18
+ {
19
+ clearstatcache();
20
+ // $configmod = fileperms($path);
21
+ $configmod = substr(sprintf(".%o.", fileperms($path)), -4);
22
+ $trcss = (($configmod != $perm) ? "background-color:#fd7a7a;" : "background-color:#91f587;");
23
+ echo "<tr style=".$trcss.">";
24
+ echo '<td style="border:0px;">'. $path ."</td>";
25
+ echo '<td style="border:0px;">' . $perm . '</td>';
26
+ echo '<td style="border:0px;">' . $configmod . '</td>';
27
+ echo "</tr>";
28
+ }
29
+
30
+ function mrt_opt_mng_pg() {
31
+ ?>
32
+ <div class=wrap>
33
+ <h2><?php _e('WP - Security Scan') ?></h2>
34
+ <div style="height:299px">
35
+ <div id="message" class="updated fade"><p><?php echo "SECURITY SCAN";?></p></div>
36
+ <table width="100%" border="0" cellspacing="0" cellpadding="3" style="text-align:center;">
37
+ <tr>
38
+ <th style="border:0px;"><b>File/Dir</b></th>
39
+ <th style="border:0px;"><b>Needed Chmod</b></th>
40
+ <th style="border:0px;"><b>Current Chmod</b></th>
41
+ </tr>
42
+ <?php
43
+ check_perms("../wp-includes","0644");
44
+ check_perms("../.htaccess","0644");
45
+ check_perms("index.php","0644");
46
+ check_perms("js/","0644");
47
+ check_perms("../wp-content/themes","0644");
48
+ check_perms("../wp-content/plugins","0644");
49
+ check_perms("../wp-admin","0644");
50
+ check_perms("../wp-content","0644");
51
+ ?>
52
+ </table>
53
+ </div>
54
+ Plugin by <a href="http://semperfiwebdesign.com/" title="Semper Fi Web Design">Semper Fi Web Design</a>
55
+ </div>
56
+ <?php } ?>