Use default timeout value

bug/bundler_fix
jvazquez-r7 2013-08-28 09:26:46 -05:00
parent 8ac82b8b18
commit ef3085823c
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class Metasploit3 < Msf::Post
# Goes through the files in Prefetch directory, creates file paths for the
# gather_pf_info function that enumerates all the pf info
getfile_prefetch_filenames = client.fs.file.search(full_path,file_type,timeout=-1)
getfile_prefetch_filenames = client.fs.file.search(full_path,file_type)
if getfile_prefetch_filenames.empty? or getfile_prefetch_filenames.nil?
print_error("Could not find/access any .pf files. Can't continue. (Might be temporary error..)")
return nil