Skip to content

Commit af5c7ec

Browse files
committed
Fix bug
1 parent 59faa1b commit af5c7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/spip_porte_plume_previsu_rce.rb

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

9292
print_good("SPIP version #{rversion} is vulnerable.")
9393
plugin_version = spip_plugin_version('porte_plume')
94-
print_status("Porte plume plugin version detected: #{plugin_version}")
9594

9695
unless plugin_version
9796
print_warning('Could not determine the version of the porte_plume plugin.')
9897
return CheckCode::Appears("The detected SPIP version (#{rversion}) is vulnerable.")
9998
end
10099

100+
print_status("Porte plume plugin version detected: #{plugin_version}")
101101
if plugin_version < Rex::Version.new('3.1.6')
102102
return CheckCode::Appears("Both the detected SPIP version (#{rversion}) and porte_plume version (#{plugin_version}) are vulnerable.")
103103
end

0 commit comments

Comments
 (0)