Changeset 2452843
- Timestamp:
- 01/08/2021 08:22:15 PM (5 years ago)
- Location:
- wpscan
- Files:
-
- 6 edited
- 1 copied
-
tags/1.14.1 (copied) (copied from wpscan/trunk)
-
tags/1.14.1/readme.txt (modified) (2 diffs)
-
tags/1.14.1/security-checks/weak-passwords/check.php (modified) (2 diffs)
-
tags/1.14.1/wpscan.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/security-checks/weak-passwords/check.php (modified) (2 diffs)
-
trunk/wpscan.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wpscan/tags/1.14.1/readme.txt
r2452411 r2452843 4 4 Requires at least: 3.4 5 5 Tested up to: 5.6 6 Stable tag: 1.14 6 Stable tag: 1.14.1 7 7 Requires PHP: 5.5 8 8 License: GPLv3 … … 78 78 79 79 == Changelog == 80 81 = 1.14.1 = 82 83 * Use the wp_check_password() function to check for weak passwords 80 84 81 85 = 1.14 = -
wpscan/tags/1.14.1/security-checks/weak-passwords/check.php
r2452411 r2452843 70 70 71 71 foreach ( $passwords as $password ) { 72 $login = wp_authenticate( $username, $password ); 73 74 if ( 'WP_User' === get_class( $login ) ) { 72 if ( wp_check_password( $password, $user->data->user_pass, $user->ID ) ) { 75 73 array_push( $found, $username ); 76 74 break; … … 81 79 if ( ! empty( $found ) ) { 82 80 if ( 1 === count( $found ) ) { 83 $text = __( 'The ' . esc_html( $found[0] ) . ' user was found to have a weak password. The user\'s password should be updated immediately', 'wpscan' ); 81 $text = sprintf( 82 __( 'The %s user was found to have a weak password. The user\'s password should be updated immediately', 'wpscan' ), 83 esc_html( $found[0] ) 84 ); 84 85 } else { 85 86 $found = implode( ', ', $found ); 86 $text = __( 'The ' . esc_html( $found ) . ' users were found to have weak passwords. The users\' passwords should be updated immediately', 'wpscan' ); 87 $text = sprintf( 88 __( 'The %s users were found to have weak passwords. The users\' passwords should be updated immediately', 'wpscan' ), 89 esc_html( $found ) 90 ); 87 91 } 88 92 -
wpscan/tags/1.14.1/wpscan.php
r2452411 r2452843 4 4 * Plugin URI: http://wordpress.org/plugins/wpscan/ 5 5 * Description: WPScan WordPress Security Scanner. Scans your system for security vulnerabilities listed in the WPScan Vulnerability Database. 6 * Version: 1.14 6 * Version: 1.14.1 7 7 * Author: WPScan Team 8 8 * Author URI: https://wpscan.com/ -
wpscan/trunk/readme.txt
r2452411 r2452843 4 4 Requires at least: 3.4 5 5 Tested up to: 5.6 6 Stable tag: 1.14 6 Stable tag: 1.14.1 7 7 Requires PHP: 5.5 8 8 License: GPLv3 … … 78 78 79 79 == Changelog == 80 81 = 1.14.1 = 82 83 * Use the wp_check_password() function to check for weak passwords 80 84 81 85 = 1.14 = -
wpscan/trunk/security-checks/weak-passwords/check.php
r2452411 r2452843 70 70 71 71 foreach ( $passwords as $password ) { 72 $login = wp_authenticate( $username, $password ); 73 74 if ( 'WP_User' === get_class( $login ) ) { 72 if ( wp_check_password( $password, $user->data->user_pass, $user->ID ) ) { 75 73 array_push( $found, $username ); 76 74 break; … … 81 79 if ( ! empty( $found ) ) { 82 80 if ( 1 === count( $found ) ) { 83 $text = __( 'The ' . esc_html( $found[0] ) . ' user was found to have a weak password. The user\'s password should be updated immediately', 'wpscan' ); 81 $text = sprintf( 82 __( 'The %s user was found to have a weak password. The user\'s password should be updated immediately', 'wpscan' ), 83 esc_html( $found[0] ) 84 ); 84 85 } else { 85 86 $found = implode( ', ', $found ); 86 $text = __( 'The ' . esc_html( $found ) . ' users were found to have weak passwords. The users\' passwords should be updated immediately', 'wpscan' ); 87 $text = sprintf( 88 __( 'The %s users were found to have weak passwords. The users\' passwords should be updated immediately', 'wpscan' ), 89 esc_html( $found ) 90 ); 87 91 } 88 92 -
wpscan/trunk/wpscan.php
r2452411 r2452843 4 4 * Plugin URI: http://wordpress.org/plugins/wpscan/ 5 5 * Description: WPScan WordPress Security Scanner. Scans your system for security vulnerabilities listed in the WPScan Vulnerability Database. 6 * Version: 1.14 6 * Version: 1.14.1 7 7 * Author: WPScan Team 8 8 * Author URI: https://wpscan.com/
Note: See TracChangeset
for help on using the changeset viewer.