Fix NoMethodERror undefined method 'each' for '[path]':String error.
paths might be a string instead of an array, because the function that does unix-based enumeration returns a string git-svn-id: file:///home/svn/framework3/trunk@13970 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
0af43246a4
commit
7ef8c16e75
|
@ -83,7 +83,7 @@ class Metasploit3 < Msf::Post
|
|||
|
||||
print_status("Found .ssh directory for: #{id}")
|
||||
print_status("stat = #{stat}")
|
||||
return stat
|
||||
return [stat]
|
||||
end
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue