mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-08-07 19:54:12 +02:00
28 lines
621 B
Plaintext
28 lines
621 B
Plaintext
---
|
|
functions:
|
|
file-read:
|
|
- binary: false
|
|
code: |-
|
|
pyright /path/to/input-file
|
|
comment: |-
|
|
Content is leaked as error messages.
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
- binary: false
|
|
code: |-
|
|
pyright --outputjson /path/to/input-file
|
|
comment: |-
|
|
Content is leaked as error messages in JSON format.
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
- code: |-
|
|
pyright -w /path/to/input-dir/
|
|
comment: |-
|
|
Recursively walks directories, parsing all Python files and leaking some contents through diagnostics.
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
...
|