We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ad0b56 commit f65ccbeCopy full SHA for f65ccbe
modules/exploits/multi/http/spip_porte_plume_previsu_rce.rb
@@ -88,11 +88,11 @@ def check
88
89
print_status("SPIP Version detected: #{version}")
90
91
- if Rex::Version.new(version) <= Rex::Version.new('4.2.12')
92
- return CheckCode::Appears("The detected SPIP version (#{version}) is vulnerable.")
93
- else
94
- return CheckCode::Safe("The detected SPIP version (#{version}) is not vulnerable.")
+ if Rex::Version.new(version) > Rex::Version.new('4.2.12')
+ return CheckCode::Safe("The detected SPIP version (#{version}) is not vulnerable.")
95
end
+
+ return CheckCode::Appears("The detected SPIP version (#{version}) is vulnerable.")
96
97
98
def php_exec_cmd(encoded_payload)
0 commit comments