Land #18661, Update error message for meterpreter file contents test
This commit is contained in:
commit
5e59389d2b
|
@ -158,7 +158,7 @@ class MetasploitModule < Msf::Post
|
|||
final_contents = read_file(datastore['BaseFileName'])
|
||||
ret &&= final_contents == 'foobarbaz'
|
||||
unless ret
|
||||
vprint_status("Didn't read what we wrote, actual file on target: |#{file_contents.inspect}| - #{file_contents.bytes.inspect}")
|
||||
vprint_status("Didn't read what we wrote, actual file on target: |#{final_contents.inspect}| - #{final_contents.bytes.inspect}")
|
||||
end
|
||||
|
||||
ret
|
||||
|
|
Loading…
Reference in New Issue