diff options
| -rw-r--r-- | pkcli_stub.py | 1 | ||||
| -rw-r--r-- | pkctl.py | 2 |
2 files changed, 0 insertions, 3 deletions
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: @@ -121,8 +121,6 @@ def attach_cmd(): tty.tcsetattr(sys.stdin.fileno(), tty.TCSAFLUSH, stdin_mode) pty_mode = False print('turned off pty mode due to npty command') - if len(data) > 6: - pnnl(str(data[6:], 'utf-8')) elif not pty_mode and data == b'\xc0\xdepty': pty_mode = True stdin_mode = tty.tcgetattr(sys.stdin.fileno()) |
