Change the error handling message for read_file_meterpreter(), because this one is easier to understand
This commit is contained in:
parent
3f4dbd9df6
commit
ac582cd0fc
|
@ -168,7 +168,7 @@ protected
|
|||
begin
|
||||
fd = session.fs.file.new(file_name, "rb")
|
||||
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
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue