Hey guys,
Having a funny issue with the reverse shell that is created with sqlmap and caught by netcat. I upgrade the reverse shell using SHELL=/bin/bash script -q /dev/null and then setting the job control using set -m but after a few moments of having the shell open, the shell will automatically close with an exit command. I’ve tried spawning using python3 -c ‘import pty;pty.spawn(“/bin/bash”);’ but I don’t think this even did anything and the issue still occurs.
![](upload://22k9GI08qIOCBTDlgT3ztpQxD9C.png)For reference, in this image I was typing “sudo -l” but got interrupted.
Any help is greatly appreciated.