mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-08-08 12:14:13 +02:00
16 lines
377 B
Plaintext
16 lines
377 B
Plaintext
---
|
|
functions:
|
|
inherit:
|
|
- code: |-
|
|
echo '...' >/path/to/temp-file
|
|
poetry run python /path/to/temp-file
|
|
comment: |-
|
|
This allows to run Python code (`...`).
|
|
|
|
A valid `pyproject.toml` file must be present in the current working directory, you can create one with `poetry init -n`.
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
from: python
|
|
...
|