mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
21 lines
398 B
Plaintext
21 lines
398 B
Plaintext
---
|
|
functions:
|
|
file-read:
|
|
- code: |-
|
|
rake -f /path/to/input-file
|
|
comment: |-
|
|
The file is actually parsed and the first wrong line is returned in an error message.
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
inherit:
|
|
- code: |-
|
|
rake -p '...'
|
|
comment: |-
|
|
This allows to run Ruby code (`...`).
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
from: ruby
|
|
...
|