mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-01-18 05:21:35 +01:00
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.
16 lines
205 B
Markdown
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
|
|
---
|