Difference between revisions of "Linux Privilege Escalation"
Jump to navigation
Jump to search
(Created page with "===Find Binary Permissions & Capabilities=== $ find / -type f -perm -u=s 2>/dev/null; getcap -r / 2>/dev/null https://gtfobins.github.io/ https://www.man7.org/linux/man-pages...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | ===Find Binary Permissions & Capabilities=== | + | ===Find Binary Permissions & Capabilities=== |
− | $ find / -type f -perm -u=s 2>/dev/null; getcap -r / 2>/dev/null | + | $ find / -type f -perm -u=s 2>/dev/null; getcap -r / 2>/dev/null <br><br> |
− | https://gtfobins.github.io/ | + | '''Capabilities that can give you root:'''<br> |
− | https://www.man7.org/linux/man-pages/man7/capabilities.7.html | + | setuid+ep<br> |
− | + | setgid+ep<br><br> | |
+ | |||
+ | '''Helpful links for further research on binarys:'''<br> | ||
+ | https://gtfobins.github.io/ <br> | ||
+ | https://www.man7.org/linux/man-pages/man7/capabilities.7.html <br> |
Latest revision as of 10:27, 11 November 2020
Find Binary Permissions & Capabilities
$ find / -type f -perm -u=s 2>/dev/null; getcap -r / 2>/dev/null
Capabilities that can give you root:
setuid+ep
setgid+ep
Helpful links for further research on binarys:
https://gtfobins.github.io/
https://www.man7.org/linux/man-pages/man7/capabilities.7.html