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

Added small sleep to account for latency

This commit is contained in:
Caleb Stewart 2021-06-08 03:45:15 -04:00
parent 98ede71bf8
commit 420626868c

View File

@ -551,6 +551,7 @@ class Linux(Platform):
self.shell = bash
self.session.log(f"upgrading from sh to {self.shell}")
self.channel.sendline(f"exec {self.shell}".encode("utf-8"))
time.sleep(0.5)
self.refresh_uid()