Binary file used by .NET Framework to compile C# code Located at: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe; C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Csc.exe; C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe.
csc csc Sandbox: execFile · Timeout: 30s
build.compile.code Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
Use csc.exe to compile C# code, targeting the .NET Framework, stored in the specified .cs file and output the compiled version to the specified .exe path. (Compile attacker code on system. Bypass defensive counter measures.)
csc.exe -out:{PATH:.exe} {PATH:.cs} Use csc.exe to compile C# code, targeting the .NET Framework, stored in the specified .cs file and output the compiled version to a DLL file with the same name. (Compile attacker code on system. Bypass defensive counter measures.)
csc -target:library {PATH:.cs} csc is a Windows LOLBin. Binary file used by .NET Framework to compile C# code Located at: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe; C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Csc.exe; C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe.