Changeset 2982148
- Timestamp:
- 10/22/2023 03:25:10 AM (2 years ago)
- Location:
- wpscan
- Files:
-
- 6 edited
- 1 copied
-
tags/1.15.7 (copied) (copied from wpscan/trunk)
-
tags/1.15.7/app/Plugin.php (modified) (2 diffs)
-
tags/1.15.7/readme.txt (modified) (2 diffs)
-
tags/1.15.7/wpscan.php (modified) (1 diff)
-
trunk/app/Plugin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wpscan.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wpscan/tags/1.15.7/app/Plugin.php
r2751825 r2982148 755 755 // Trim and remove potential leading 'v'. 756 756 $version = ltrim( trim( $version ), 'v' ); 757 $version = $this->normalize_version( $version ); 757 758 758 759 foreach ( $data->$key->vulnerabilities as $item ) { 760 if ( $item->introduced_in ) { 761 if ( version_compare( $version, $item->introduced_in, '<' ) ) { 762 continue; 763 } 764 } 765 759 766 if ( $item->fixed_in ) { 760 767 if ( version_compare( $version, $item->fixed_in, '<' ) ) { … … 923 930 924 931 /** 932 * Normalizes version numbers 933 * 934 * @since 1.15.7 935 * @access public 936 * @return string 937 */ 938 public function normalize_version( $version ) { 939 if ( preg_match( '/(\.?\d+)+/', $version, $matches ) ) { 940 $version_string = $matches[0]; 941 } else { 942 $version_string = ''; 943 } 944 945 // if the version string looks like .5 then make it 0.5 946 if ( isset( $version_string[0] ) && $version_string[0] === '.' ) { 947 $version_string = '0' . $version_string; 948 } 949 950 return $version_string; 951 } 952 953 /** 925 954 * Notify non-enterprise level users of Jetpack Protect 926 955 * -
wpscan/tags/1.15.7/readme.txt
r2857978 r2982148 3 3 Tags: wpscan, wpvulndb, security, vulnerability, hack, scan, exploit, secure, alerts 4 4 Requires at least: 3.4 5 Tested up to: 6. 1.16 Stable tag: 1.15. 65 Tested up to: 6.3.2 6 Stable tag: 1.15.7 7 7 Requires PHP: 5.5 8 8 License: GPLv3 … … 93 93 == Changelog == 94 94 95 = 1.15.7 = 96 * Fix the way the plugin handles extension versions to be more accurate. 97 95 98 = 1.15.6 = 96 * Added a notice mentioningJetpack Protect99 * Added a notice pointing regular users to Jetpack Protect 97 100 98 101 = 1.15.5 = -
wpscan/tags/1.15.7/wpscan.php
r2751825 r2982148 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.15. 66 * Version: 1.15.7 7 7 * Author: WPScan Team 8 8 * Author URI: https://wpscan.com/ -
wpscan/trunk/app/Plugin.php
r2751825 r2982148 755 755 // Trim and remove potential leading 'v'. 756 756 $version = ltrim( trim( $version ), 'v' ); 757 $version = $this->normalize_version( $version ); 757 758 758 759 foreach ( $data->$key->vulnerabilities as $item ) { 760 if ( $item->introduced_in ) { 761 if ( version_compare( $version, $item->introduced_in, '<' ) ) { 762 continue; 763 } 764 } 765 759 766 if ( $item->fixed_in ) { 760 767 if ( version_compare( $version, $item->fixed_in, '<' ) ) { … … 923 930 924 931 /** 932 * Normalizes version numbers 933 * 934 * @since 1.15.7 935 * @access public 936 * @return string 937 */ 938 public function normalize_version( $version ) { 939 if ( preg_match( '/(\.?\d+)+/', $version, $matches ) ) { 940 $version_string = $matches[0]; 941 } else { 942 $version_string = ''; 943 } 944 945 // if the version string looks like .5 then make it 0.5 946 if ( isset( $version_string[0] ) && $version_string[0] === '.' ) { 947 $version_string = '0' . $version_string; 948 } 949 950 return $version_string; 951 } 952 953 /** 925 954 * Notify non-enterprise level users of Jetpack Protect 926 955 * -
wpscan/trunk/readme.txt
r2857978 r2982148 3 3 Tags: wpscan, wpvulndb, security, vulnerability, hack, scan, exploit, secure, alerts 4 4 Requires at least: 3.4 5 Tested up to: 6. 1.16 Stable tag: 1.15. 65 Tested up to: 6.3.2 6 Stable tag: 1.15.7 7 7 Requires PHP: 5.5 8 8 License: GPLv3 … … 93 93 == Changelog == 94 94 95 = 1.15.7 = 96 * Fix the way the plugin handles extension versions to be more accurate. 97 95 98 = 1.15.6 = 96 * Added a notice mentioningJetpack Protect99 * Added a notice pointing regular users to Jetpack Protect 97 100 98 101 = 1.15.5 = -
wpscan/trunk/wpscan.php
r2751825 r2982148 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.15. 66 * Version: 1.15.7 7 7 * Author: WPScan Team 8 8 * Author URI: https://wpscan.com/
Note: See TracChangeset
for help on using the changeset viewer.