We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b7435 commit cc8b37dCopy full SHA for cc8b37d
lib/msf/core/post/file.rb
@@ -34,7 +34,7 @@ def pwd
34
# Returns a list of the contents of the specified directory
35
# @param directory [String] the directory to list
36
# @return [Array] the contents of the directory
37
- def dir(directory = nil)
+ def dir(directory)
38
if session.type == 'meterpreter'
39
return session.fs.dir.entries(directory)
40
else
0 commit comments