1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-24 01:25:37 +01:00

Adding a comment for clarity on sleeping

This commit is contained in:
John Hammond 2020-05-13 00:21:53 -04:00
parent cd54ffb2fc
commit d797eed718

View File

@ -1168,6 +1168,8 @@ class PtyHandler:
self.raw(echo=False) self.raw(echo=False)
self.client.send(b"echo\n") self.client.send(b"echo\n")
# We NEED this sleep... otherwise it does not process the command echo properly
time.sleep(0.1) time.sleep(0.1)
self.flush_output(some=True) self.flush_output(some=True)