ca_totaldefense_regeneratereports - NoMethodError undefined method 'empty?' for nil:NilClass
parent
a6405beeda
commit
11fedd7353
|
@ -110,7 +110,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
|
||||
def exploit
|
||||
|
||||
if not datastore['CMD'].empty?
|
||||
if !datastore['CMD'].blank?
|
||||
print_status("Executing command '#{datastore['CMD']}'")
|
||||
execute_command(datastore['CMD'])
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue