From 00cfbc357a7770d574cc5ac31ad126f532ade4b6 Mon Sep 17 00:00:00 2001 From: adfoster-r7 Date: Thu, 4 Jan 2024 12:13:10 +0000 Subject: [PATCH] Update error message for meterpreter file contents test --- test/modules/post/test/file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/modules/post/test/file.rb b/test/modules/post/test/file.rb index bc9281d45b..07d5fce99d 100644 --- a/test/modules/post/test/file.rb +++ b/test/modules/post/test/file.rb @@ -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