mirror of
https://github.com/oXis/pwnwiki.github.io.git
synced 2025-10-29 16:56:59 +00:00
Begining to document privilege escalation
This commit is contained in:
parent
023210d2b6
commit
0f58a42c6d
@ -1,3 +1,15 @@
|
|||||||
# Place Holder
|
# Sudo
|
||||||
|
Don't forget to check sudo to see if you can execute any commands with any privilege besides your user level
|
||||||
|
**Show which commands sudo allows you to run**
|
||||||
|
`sudo -l`
|
||||||
|
|
||||||
Content coming. Feel free to submit ;-)
|
# Find
|
||||||
|
The following commands are helpful when looking to exploit local applications for privilege escalation
|
||||||
|
**Finding world writeable directories**
|
||||||
|
`find / -perm 777`
|
||||||
|
|
||||||
|
**Find setuid files**
|
||||||
|
`find / -perm +4000 -type f`
|
||||||
|
|
||||||
|
**Find root setuid files**
|
||||||
|
`find / -perm +4000 -uid 0 -type f`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user