From a25c2a083a79932271a808394ecd2c522b140403 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Sat, 14 Jan 2023 14:01:01 -0800 Subject: Dont send prompt after exiting PTY mode; TCP stacks it and causes strange behavior --- pkcli_stub.py | 1 - 1 file changed, 1 deletion(-) (limited to 'pkcli_stub.py') diff --git a/pkcli_stub.py b/pkcli_stub.py index a5511bf..476636d 100644 --- a/pkcli_stub.py +++ b/pkcli_stub.py @@ -187,7 +187,6 @@ def work(h_addr, port, privkey, bits): if not run_pty(sock, screen_is, screen_os): return True screen_os.send(b'\xc0\xdenpty') - send_encrypted(sock, PS1, rpubkey['e'], rpubkey['n'], bits=bits) continue else: try: -- cgit v1.2.3