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/tsc
Andrea Cardaci 2d14faa96c Simplify tsc
2026-01-24 12:23:48 +01:00

22 lines
595 B
Plaintext

---
functions:
file-read:
- binary: false
code: |-
tsc /path/to/input-file.ts
comment: |-
Content is leaked as error messages. The file extension must be one of the supported ones, e.g., `.ts`, `.tsx`, etc.
contexts:
sudo:
unprivileged:
file-write:
- binary: false
code: |-
tsc /path/to/input-file.ts --outFile /path/to/output-file
comment: |-
Content is leaked as error messages and written to file. The file extension must be one of the supported ones, e.g., `.ts`, `.tsx`, etc.
contexts:
sudo:
unprivileged:
...