Starting Point: Vaccine Reverse shell keeps exiting on its own

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.


For reference, in this image I was typing “sudo -l” but got interrupted.

Any help is greatly appreciated.

Fellas please any insight I need it!

I was having the same issue. Try using ssh instead to get a foothold.

Thanks for that, was able to finish this box.