Rishi.ShellBind
1.0.1
See the version list below for details.
dotnet add package Rishi.ShellBind --version 1.0.1
NuGet\Install-Package Rishi.ShellBind -Version 1.0.1
<PackageReference Include="Rishi.ShellBind" Version="1.0.1" />
<PackageVersion Include="Rishi.ShellBind" Version="1.0.1" />
<PackageReference Include="Rishi.ShellBind" />
paket add Rishi.ShellBind --version 1.0.1
#r "nuget: Rishi.ShellBind, 1.0.1"
#:package Rishi.ShellBind@1.0.1
#addin nuget:?package=Rishi.ShellBind&version=1.0.1
#tool nuget:?package=Rishi.ShellBind&version=1.0.1
cs-shellbind
Bind command as stream. WARNING: Never pass unsanitized strings to the hostname, port, etc.; they are just passed as-is and might cause shell escape attacks.
stdbuf (GNU coreutils/BSD) or unbuffer from expect (TCL) should preferably be there too (although this can work without it, there might be buffering delays).
ShellSocket should be initialized with the values; default uses stdbuf but can be changed later. Comes with utility classes Pair and StatPair, which can be used to pair a Read/Write stream into one large stream. RedirectErrorsToStream and RedirectErrorsToConsole were added.
Architrcture
GetStream() returns the stream of ShellSocket. ProxySocket should be Start()ed to connect.
Usage
Please see the Test file.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.2
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Rishi.ShellBind:
| Package | Downloads |
|---|---|
|
Rishi.Proxy.NativeHTTPProxyClient
HTTP Proxy support for C# using System.Net.TcpClient. Expected to work on all NetStandard platforms. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.3.0-stable | 629 | 10/9/2019 | |
| 1.2.1 | 1,592 | 10/9/2019 | |
| 1.2.0 | 1,225 | 10/8/2019 | |
| 1.1.5 | 1,219 | 10/1/2019 | |
| 1.1.4 | 1,151 | 9/30/2019 | |
| 1.1.3 | 1,217 | 9/30/2019 | |
| 1.1.2 | 1,221 | 9/28/2019 | |
| 1.1.1 | 1,202 | 9/27/2019 | |
| 1.1.0 | 1,198 | 9/27/2019 | |
| 1.0.6 | 1,171 | 9/22/2019 | |
| 1.0.5 | 1,207 | 9/20/2019 | |
| 1.0.4 | 1,186 | 9/20/2019 | |
| 1.0.3 | 1,183 | 9/20/2019 | |
| 1.0.2 | 1,215 | 9/19/2019 | |
| 1.0.1 | 1,241 | 9/19/2019 | |
| 1.0.0 | 1,213 | 9/19/2019 |