Fix "NoMethodError undefined method 'empty?' for nil:NilClass
git-svn-id: file:///home/svn/framework3/trunk@13959 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
39a4488da5
commit
7e1070c24e
|
@ -64,7 +64,7 @@ class Metasploit3 < Msf::Post
|
|||
print_error "Unsupported platform #{session.platform}"
|
||||
return
|
||||
end
|
||||
if paths.empty?
|
||||
if paths.nil? or paths.empty?
|
||||
print_status("No users found with a FileZilla directory")
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue