-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMBv1 stack doesn't talk unicode on the wire #51
Comments
Original comment by
|
Original comment by |
Original comment by |
Original comment by |
Original comment by |
Original comment by |
Original comment by |
Original comment by |
I took a look at @rdubourguais Impacket's repo (https://github.com/rdubourguais/impacket). I see him using AsciiOrUnicodeStructure base class when defining SMB structures and I think that is the right approach for the problem. I'd change, however, the talkUnicode() approach so we can make it more general. Also, current implementation does not work in the negotation protocol packet, which could make some cases to fail. In ed1d479 I added an option to detach the Given that functionality and the existence (but not used) of
I think all the pieces are there, we just need to them together. what say you? |
Your approach is indeed more generic and sounds good to me. I can merge your approach with mine to implement points 3) and 4) in my impacket repo and then create a PR. I will let you implement point 5) if you insist :) |
@rdubourguais good to know we're on the same page. That sounds like a plan.
or similar. I'll do 5) ;) |
Feature still not there but the idea is to implement it using manualNegotiate and setting the appropiate flags using SMBConnection.negotiateSession(). Check #51 for details.
|
@rdubourguais just merged #68. I also added some minor additions based on errors thrown by the test cases. Let me know if this solves the original intention for Unicode support. If so, you close this issue. Thanks for your help! Looking forward to more additions ;) |
It perfectly solves my original issue ;) But it seems I don't have the right permission to close the issue :) Thanks to you for the great job you have done in this lib. It makes my daily job much more easier :] |
Great to know mate.. let's think on the next feature ;).. Ideas are welcomed... thanks to you!.. closing this one. |
Original issue reported on code.google.com by
renaud.d...@synacktiv.com
on 4 Sep 2014 at 11:09Attachments:
The text was updated successfully, but these errors were encountered: