1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 06:31:33 +01:00
GTFOBins.github.io/_gtfobins/poetry
2026-01-30 14:02:26 +01:00

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
...