Skip to content

Lab 10.1 10.2

JadenGil edited this page Apr 15, 2024 · 4 revisions

Recreating program:

image

Ownership of user file:

image

Finding other suid commands:

by using the command find / -perm -u=s -type f 2>/dev/null it'll give you a list of all of kalis other suid commands as you can see in the screenshot below

image

Writable files:

To find writable files use the command find / -perm /o=w | grep less if you do not add anything to grep for afterwards it'll give you literally all of the writeable files and there are thousands so only use this if you are looking for something specific put grep | "yourword in this case I just used less:

image

Clone this wiki locally