I want get the socket of SQL Server authentication, to reuse the client’s socket.
I've found a solution for Python ,https://www.blackarrow.net/mssqlproxy-pivoting-clr/. https://github.com/blackarrowsec/mssqlproxy/blob/master/mssqlclient.py#L230
It's easy to implement in Python because of the impacket dependency library. How can I implement this function in C#?
I've searched the Internet, and I haven't found any solution.
Please help me, thank you ~
2.1m questions
2.1m answers
60 comments
57.0k users