From 420626868ca3c8eff12cba164b61e66eddf16968 Mon Sep 17 00:00:00 2001 From: Caleb Stewart Date: Tue, 8 Jun 2021 03:45:15 -0400 Subject: [PATCH] Added small sleep to account for latency --- pwncat/platform/linux.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pwncat/platform/linux.py b/pwncat/platform/linux.py index 06edec4..e54b8b8 100644 --- a/pwncat/platform/linux.py +++ b/pwncat/platform/linux.py @@ -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()