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 a07656f commit 7e6e154Copy full SHA for 7e6e154
modules/auxiliary/scanner/sap/sap_mgmt_con_instanceproperties.rb
@@ -237,7 +237,7 @@ def enum_instance(rhost)
237
print_good("#{rhost}:#{rport} [SAP] Unprotected Webmethods :::")
238
webmethods_arr.each do | webm |
239
# Only add webmethods not found in protectedweb_arr
240
- webmethods_output << webm if not protectedweb_arr.include?(webm)
+ webmethods_output << webm unless protectedweb_arr && protectedweb_arr.include?(webm)
241
end
242
print_status("#{webmethods_output.join(',')}") if webmethods_output
243
report_note(:host => rhost,
0 commit comments