osb_uname_jlist - NoMethodError undefined method 'empty?' for nil:NilClass
parent
11fedd7353
commit
b5284375a7
|
@ -93,7 +93,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