Linux capabilities
Linux capabilities provide a subset of the available root privileges to a process.
To get the capabilities of a binary, use the getcap command. For example, execute:
CAP_SETUID
This means that it's possible to set the effective user id of the created process.
If python has this capability, abuse it to escalate privileges to root:
Another way to process is to execute the following python instructions from a .py file:
Last updated