Make it YARD compliant documentation
parent
20195e7f37
commit
15b7435c34
|
@ -31,9 +31,9 @@ module Msf::Post::File
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
# Returns a list of the contents of the specified +directory+
|
||||
#
|
||||
# Returns a list of the contents of the specified directory
|
||||
# @param directory [String] the directory to list
|
||||
# @return [Array] the contents of the directory
|
||||
def dir(directory = nil)
|
||||
if session.type == 'meterpreter'
|
||||
return session.fs.dir.entries(directory)
|
||||
|
|
Loading…
Reference in New Issue