You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print_status('SPIP version is in the vulnerable range.')
88
+
unlessis_vulnerable
89
+
returnCheckCode::Safe("The detected SPIP version (#{rversion}) is not vulnerable.")
90
+
end
90
91
91
-
plugin_version=spip_plugin_version('porte_plume')
92
+
print_good("SPIP version #{rversion} is vulnerable.")
93
+
plugin_version=spip_plugin_version('porte_plume')
94
+
print_status("Porte plume plugin version detected: #{plugin_version}")
92
95
93
-
unlessplugin_version
94
-
print_warning('Could not determine the version of the porte_plume plugin.')
95
-
returnExploit::CheckCode::Appears("The detected SPIP version (#{rversion}) is vulnerable.")
96
-
end
96
+
unlessplugin_version
97
+
print_warning('Could not determine the version of the porte_plume plugin.')
98
+
returnCheckCode::Appears("The detected SPIP version (#{rversion}) is vulnerable.")
99
+
end
97
100
98
-
returnExploit::CheckCode::Appears("The detected SPIP version (#{rversion}) and porte_plume version (#{plugin_version}) are vulnerable.")ifplugin_version < Rex::Version.new('3.1.6')
101
+
ifplugin_version < Rex::Version.new('3.1.6')
102
+
returnCheckCode::Appears("Both the detected SPIP version (#{rversion}) and porte_plume version (#{plugin_version}) are vulnerable.")
99
103
end
100
104
101
-
returnExploit::CheckCode::Safe("The detected SPIP version (#{rversion}) is not vulnerable.")
105
+
CheckCode::Appears("The detected SPIP version (#{rversion}) is vulnerable.")
0 commit comments