mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-01-14 17:37:27 +01:00
Update meterpreter.py
fixed an error for older Python versions
This commit is contained in:
parent
42b0fbc35a
commit
50c377147d
@ -1082,7 +1082,7 @@ class HttpTransport(Transport):
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user