Changeset 1651059
- Timestamp:
- 05/04/2017 02:03:05 PM (9 years ago)
- Location:
- ab-wp-security
- Files:
-
- 6 added
- 2 edited
-
tags/1.30/options.php (added)
-
tags/1.40 (added)
-
tags/1.40/ab-wp-security-plugin.php (added)
-
tags/1.40/options.php (added)
-
tags/1.40/readme.txt (added)
-
trunk/ab-wp-security-plugin.php (modified) (4 diffs)
-
trunk/options.php (added)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ab-wp-security/trunk/ab-wp-security-plugin.php
r1646940 r1651059 3 3 Plugin Name: AB WP Security 4 4 Plugin URI: http://aleksandar.bjelosevic.info/abwps 5 Description: Security plugin that stop User Enumeration in WordPress, Disable XML-RPC and Remove WordPress Version Number6 Version: 1. 305 Description: Security plugin that stop User Enumeration in WordPress,check for admin and administrator usernames, Disable XML-RPC and Remove WordPress Version Number 6 Version: 1.40 7 7 Author: Aleksandar Bjelosevic 8 8 Author URI: http://aleksandar.bjelosevic.info … … 40 40 ?> 41 41 </form> 42 42 <?php 43 //check users 44 abwp_check_users(); 45 ?> 43 46 </div> 44 47 <?php … … 91 94 } 92 95 96 //check username for security! 97 function abwp_check_users() 98 { 99 $username = array("admin","administrator"); 100 101 for($x=0;$x<count($username);$x++) 102 { 103 if ( username_exists( $username[$x] ) ) 104 echo "Username: <b>".$username[$x]."</b> In Use!<b>THIS IS MAJOR SECURITY RISK!</b><br>"; 105 106 } 107 108 } 93 109 94 110 function ab_wp_security_clean() { … … 111 127 add_filter('redirect_canonical', 'abwp_check_enum', 10, 2); 112 128 } 113 129 114 130 115 131 -
ab-wp-security/trunk/readme.txt
r1646941 r1651059 5 5 Requires at least: 3.8 6 6 Tested up to: 4.7.4 7 Stable tag: 1. 307 Stable tag: 1.40 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl.html … … 22 22 23 23 == Changelog == 24 25 = V1.40 = 26 Check for admin and administrator usernames 24 27 25 28 = V1.30 =
Note: See TracChangeset
for help on using the changeset viewer.