Change the error handling message for read_file_meterpreter(), because this one is easier to understand

This commit is contained in:
sinn3r 2012-01-27 02:17:09 -06:00
parent 3f4dbd9df6
commit ac582cd0fc
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ protected
begin begin
fd = session.fs.file.new(file_name, "rb") fd = session.fs.file.new(file_name, "rb")
rescue ::Rex::Post::Meterpreter::RequestError => e rescue ::Rex::Post::Meterpreter::RequestError => e
print_error("Failed to open file: #{e.class} : #{e}") print_error("Failed to open file: #{file_name}")
return nil return nil
end end