fix struts_code_exec_exception_delegator - NoMethodError undefined method 'empty?' for nil:NilClass
parent
bc257ea628
commit
41bcdcce61
|
@ -186,7 +186,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
end
|
||||
|
||||
def exploit
|
||||
if not datastore['CMD'].empty?
|
||||
if !datastore['CMD'].blank?
|
||||
print_status("Executing user supplied command")
|
||||
execute_command(datastore['CMD'])
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue