Make directory mandatory

bug/bundler_fix
jvazquez-r7 2014-11-17 12:15:33 -06:00
parent 15b7435c34
commit cc8b37d619
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ module Msf::Post::File
# 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)
def dir(directory)
if session.type == 'meterpreter'
return session.fs.dir.entries(directory)
else