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 4147a27 commit d37d211Copy full SHA for d37d211
modules/auxiliary/dos/sap/sap_soap_rfc_eps_delete_file.rb
@@ -94,7 +94,7 @@ def run_host(ip)
94
}
95
})
96
97
- if res and res.code == 200 and res.body =~ /EPS_DELETE_FILE.Response/ and res.body =~ /#{datastore['DIRNAME']}/ and res.body =~ /#{datastore['FILENAME']}/
+ if res and res.code == 200 and res.body =~ /EPS_DELETE_FILE.Response/ and res.body.include?(datastore['FILENAME']) and res.body.include?(datastore['DIRNAME'])
98
print_good("#{rhost}:#{rport} - File #{datastore['FILENAME']} at #{datastore['DIRNAME']} successfully deleted")
99
elsif res
100
vprint_error("#{rhost}:#{rport} - Response code: " + res.code.to_s)
0 commit comments