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:
parent
cd54ffb2fc
commit
d797eed718
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user