Skip to content

Commit 4f859f1

Browse files
committed
Fix bug
1 parent c75ffb4 commit 4f859f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/spip_bigup_unauth_rce.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ def check
102102

103103
print_good("SPIP version #{rversion} is vulnerable.")
104104
plugin_version = spip_plugin_version('bigup')
105-
print_status("Bigup plugin version detected: #{plugin_version}")
106105

107106
unless plugin_version
108107
print_warning('Could not determine the version of the bigup plugin.')
109108
return CheckCode::Appears("The detected SPIP version (#{rversion}) is vulnerable.")
110109
end
111110

111+
print_status("Bigup plugin version detected: #{plugin_version}")
112112
if plugin_version < Rex::Version.new('3.2.12')
113113
return CheckCode::Appears("Both the detected SPIP version (#{rversion}) and bigup version (#{plugin_version}) are vulnerable.")
114114
end

0 commit comments

Comments
 (0)