GTFOBins.github.io/_gtfobins/ed.md
Andrea Cardaci e885d4a6ee Remove the -p option from suid-limited
It is useless because:
- if Debian-like, it is not supported and does not drop anyway;
- otherwise the `system()`-like function already used a shell that dropped the
  privileges.
2018-05-25 00:57:42 +02:00

16 lines
205 B
Markdown

---
functions:
exec-interactive:
- code: |
ed
!/bin/sh
sudo-enabled:
- code: |
sudo ed
!/bin/sh
suid-limited:
- code: |-
./ed
!/bin/sh
---