I am learning CTF and have problems with upgrading shell.
This is instruction I use - https://blog.ropnop.com/upgrading-simple-shells-to-fully-interactive-ttys/#method-3-upgrading-from-netcat-with-magic
Method 1 does not help - Ctrl+C stopes netcat.
Method 2 does not work - after set up a listener, terminal stop respond to any keys.
Method 3 almost work - but after pressing Enter I get ^M on terminal and commands do not run.
What I am doing wrong? How can I upgrade the shell?