Linux privilege escalation module

I am currently in the Linux privilege escalation module section Miscellaneous Techniques. I cant seem to access a root shell. The /etc/exports also don’t seem to be there in the pwnbox
also when I ran the ./shell file as sudo i got access into the machine as root

I don’t know if I am doing something wrong
here is the file shell and it was created as htb-ac521253 user.

cant upload more than one photo this is the file shell permissions

hi, have you find the flag? you should see the contents of /etc/exports of the target machine.
you will see an interesting directory

1 mkdir target
2 sudo mount -t nfs <IP>:/var/nfs/general target
3 cd target
happy hacking :heart_eyes:

1 Like