From 50c377147d4cc9ad09a09a1751394004775c5cf6 Mon Sep 17 00:00:00 2001 From: 0xriasaat Date: Sun, 1 Dec 2024 01:38:14 +0600 Subject: [PATCH] Update meterpreter.py fixed an error for older Python versions --- python/meterpreter/meterpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/meterpreter/meterpreter.py b/python/meterpreter/meterpreter.py index 178bcc77f..a0d8883db 100644 --- a/python/meterpreter/meterpreter.py +++ b/python/meterpreter/meterpreter.py @@ -1082,7 +1082,7 @@ def _get_packet(self): if len(packet) != (pkt_length + PACKET_HEADER_SIZE): packet = None except requests.RequestException as e: - debug_traceback(f"[-] Failure to receive packet from {self.url}: {e}") + debug_traceback("[-] Failure to receive packet from " + str(self.url) + ": " + str(e)) if not packet: self.communication_last = time.time()