File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- $Filename = (Get-Location ).Path + " \ConPtyShell_net2 .exe"
1+ $Filename = (Get-Location ).Path + " \ConPtyShell_dotnet2 .exe"
22$base64string_x64 = [Convert ]::ToBase64String([IO.File ]::ReadAllBytes($FileName ))
33$base64string_x64 | Out-File ConPtyShell.base64
Original file line number Diff line number Diff line change 11.NET 4.0
2- C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe -target:exe -optimize -out:ConPtyShell_net4 .exe ConPtyShell.cs
2+ C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe -target:exe -optimize -out:ConPtyShell .exe ConPtyShell.cs
33
44.NET 2.0
5- C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe -target:exe -optimize -out:ConPtyShell_net2 .exe ConPtyShell.cs
5+ C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe -target:exe -optimize -out:ConPtyShell_dotnet2 .exe ConPtyShell.cs
You can’t perform that action at this time.
0 commit comments