fix struts_code_exec_exception_delegator - NoMethodError undefined method 'empty?' for nil:NilClass

bug/bundler_fix
Vex Woo 2016-05-18 00:11:57 -05:00
parent bc257ea628
commit 41bcdcce61
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class MetasploitModule < Msf::Exploit::Remote
end end
def exploit def exploit
if not datastore['CMD'].empty? if !datastore['CMD'].blank?
print_status("Executing user supplied command") print_status("Executing user supplied command")
execute_command(datastore['CMD']) execute_command(datastore['CMD'])
return return