@@ -40,7 +40,7 @@ def wordpress_version
40
40
#
41
41
# @param [String] plugin_name The name of the plugin
42
42
# @param [String] fixed_version The version the vulnerability was fixed in
43
- # @param [String] vuln_introduced_version Optional. The version the vulnerability was introduced.
43
+ # @param [String] vuln_introduced_version Optional, the version the vulnerability was introduced
44
44
#
45
45
# @return [ Msf::Exploit::CheckCode ]
46
46
def check_plugin_version_from_readme ( plugin_name , fixed_version , vuln_introduced_version = nil )
@@ -49,9 +49,9 @@ def check_plugin_version_from_readme(plugin_name, fixed_version, vuln_introduced
49
49
50
50
# Checks a readme for a vulnerable version
51
51
#
52
- # @param [String] theme_name The name of the plugin
52
+ # @param [String] theme_name The name of the theme
53
53
# @param [String] fixed_version The version the vulnerability was fixed in
54
- # @param [String] vuln_introduced_version Optional. The version the vulnerability was introduced.
54
+ # @param [String] vuln_introduced_version Optional, the version the vulnerability was introduced
55
55
#
56
56
# @return [ Msf::Exploit::CheckCode ]
57
57
def check_theme_version_from_readme ( theme_name , fixed_version , vuln_introduced_version = nil )
@@ -60,7 +60,7 @@ def check_theme_version_from_readme(theme_name, fixed_version, vuln_introduced_v
60
60
61
61
private
62
62
63
- # Used to check if the version is correct: must contain at least one dot.
63
+ # Used to check if the version is correct: must contain at least one dot
64
64
#
65
65
# @return [ String ]
66
66
def wordpress_version_pattern
0 commit comments