mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
11 lines
295 B
Markdown
11 lines
295 B
Markdown
---
|
|
functions:
|
|
sudo:
|
|
- description: The command execution is blind (displayed on the virtual console), but it is possible to save the output on a temporary file.
|
|
code: |
|
|
COMMAND=id
|
|
TF=$(mktemp -u)
|
|
sudo openvt -- sh -c "$COMMAND >$TF 2>&1"
|
|
cat $TF
|
|
---
|