rapid7 / ruby_smb

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

Add NDR Type Serialization Version 1 structures #242

Closed cdelafuente-r7 closed 1 year ago

cdelafuente-r7 commented 1 year ago

This adds the NDR Type Serialization Version 1 structures as defined here.

These structures are referred as Pickles by the NDR protocol (see (IDL/NDR) # Pickles). These structures are needed by this Metasploit module and already implemented here. They should be moved to RubySMB, since they are DCERPC NDR structures.

smcintyre-r7 commented 1 year ago

The changes look the same as the code that is in Metasploit. To really test this we'll need to remove those definitions to ensure these are the ones used. I'll get this merged then start that process to double check.