Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Socket Wrapper with SOCKS protocol support

So since .NET has no support for the SOCKS protocols at all, and because sockets can be hard to use sometimes, I decided to make a wrapper for the socket class with built in SOCKS capabilities (HTTP soon to come). It features a better timeout system, more graceful disconnect method, and asynchronous functions. This project includes (poorly written but functional) test projects for both client and server to demonstrate how it works by sending a simple string to the server and the server responds with a reversed string. I plan on expanding this by making a wrapper on top of it to allow easier use of HTTP requests (and hopefully fully replace the need for WebRequests, etc., to be used).

Current features:
  • SOCKS 4

  • SOCKS 5

  • SOCKS 5 Authentication


You might notice I did not include SOCKS 4a support, and that is because there is no need since most (if not all) hostnames can be resolved by your DNS.

Github project:
https://github.com/GekkeVent/Socket-Wrapper

References:
Code
SOCKS protocol v5 RFC:                   https://tools.ietf.org/html/rfc1928
SOCKS protocol v5 Authentication RFC:    https://tools.ietf.org/html/rfc1929
SOCKS protocol v4 documentation:         https://www.openssh.com/txt/socks4.protocol
Great release buddy
keep up the good work.
[Image: 6xBycLk.gif]


Website: nomorehome.work
(May 19, 2017 11:29 PM)VisualSoft Wrote:  Great release buddy
keep up the good work.

Thanks! :)


Possibly Related Threads...
Thread / Author Replies Views Last Post
by lackertacker18 hours ago 6 67 18 hours ago
Last Post: lackertacker
[Legends] by itcorpSep 21, 2025 02:04 PM 8 694 Sep 21, 2025 02:04 PM
Last Post: itcorp
[.NET] by RahozDec 26, 2019 08:13 AM 35 3,867 Dec 26, 2019 08:13 AM
Last Post: professiional