rapid7 / ruby_smb

A native Ruby implementation of the SMB Protocol Family
Other
79 stars 82 forks source link

Expose Socket Information #215

Closed zeroSteiner closed 2 years ago

zeroSteiner commented 2 years ago

This updates the ServerClient class to expose some additional information like the peer host and port. This can be used by something like Metasploit to more easily identify the client connection.

zeroSteiner commented 2 years ago

Couple of examples of where this is needed:

gwillcox-r7 commented 2 years ago

Code looks good but will likely need to address the issue mentioned above.