Closed sud0Ru closed 1 month ago
I sent a PR to your branch for you to test and review with the response class implemented in sud0Ru#1. The changes you have here all look good. I just tweaked the whitespace so things are alinged and changed DC
to Dc
to match the docs.
Once you merge my changes, I'll merge this and get the changes released in a gem bump. After that, I'll walk you through updating your Metasploit module.
Thanks for taking the time to put this in RubySMB!
Thank you for the review. I will check the PR.
From a quick look at your commits, it seems the issue in my code was using uuid_ptr
instead of uuid
in the DomainControllerInfoWstruct
struct, correct? :)
From a quick look at your commits, it seems the issue in my code was using uuid_ptr instead of uuid in the DomainControllerInfoWstruct struct, correct? :)
I think that's correct, it sounds about right.
I've gone ahead and merged this. I'll get it released in a new version shortly which will be 3.3.9.
I need this DCERPC call for my Metasploit module. I successfully implemented the request, but when it came to implementing the response, I always encountered problems with fields pointing to incorrect data. For my module, it's sufficient to implement only the request. However, with some assistance from you, perhaps we can also implement the response. Here is the response's code which should be in file called
dsr_get_dc_name_ex2_resoponse.rb
:Inside
netlogin.rb
there is the implementation for this struct :If I want to access for example
dc_address
I will get the data that related todc_name
fordc_name
I will get some non-printable bytes which located some where in the beginning of the response