Writeable scripts - run by root

Enumerate over-permissive scripts.

find / -perm -2 ! -type l -ls 2>/dev/null

Edit the script - include the following command.

Establish the netcat listener and wait for a root to execute the script

Last updated