Land #18661, Update error message for meterpreter file contents test

This commit is contained in:
dwelch-r7 2024-01-04 12:34:00 +00:00 committed by GitHub
commit 5e59389d2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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