Spawning a TTY Shell - NetSec
https://netsec.ws/?p=337Spawning a TTY Shell. Peleus. Often during pen tests you may obtain a shell without having tty, yet wish to interact further with the system. Here are some commands which will allow you to spawn a tty shell. Obviously some of this will depend …
1. Command line and environment — Python 3.10.1 documentation
docs.python.org › 3 › using1.1.1. Interface options¶. The interpreter interface resembles that of the UNIX shell, but provides some additional methods of invocation: When called with standard input connected to a tty device, it prompts for commands and executes them until an EOF (an end-of-file character, you can produce that with Ctrl-D on UNIX or Ctrl-Z, Enter on Windows) is read.