diff --git a/lib/msf/core/post/file.rb b/lib/msf/core/post/file.rb index 5c5b3ea84e..98a55d900a 100644 --- a/lib/msf/core/post/file.rb +++ b/lib/msf/core/post/file.rb @@ -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)