Feature request: handle ^D (EOF) in interactive command shells #11772
Open
Description
msf5 exploit(linux/telnet/netgear_telnetenable) > sessions -1
[*] Starting interaction with 2...
# cat
cat
hello, world
hello, world
hello, world
^D
^C
Abort session 2? [y/N]
[*] Aborting foreground process in the shell session
^C
# cat <<EOF
cat <<EOF
> hello, world
hello, world
> EOF
EOF
hello, world
#