-
Notifications
You must be signed in to change notification settings - Fork 119
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
WinRM V2 #191
Conversation
Got Powershell running here with equivelent functionality as the spike. Just need to properly parse the powershell output from the binary blob.
Also added a |
Found some time to get back to this last night. The There is an additional Currently it can handle basic powershell output. It cant yet handle error responses nor does it deal well with commands containing quotes and line endings. So thats gonna be next. |
Just rebased on top of current master. Both unit and integration tests are green "on my machine" but looks like something is not appveyor friendly. Beyond fixing appveyor there is some rather heinous stuff going on in output processing with the message_types and code duplication. Will clean that up. |
@mwrock Exciting! I plan to get back to this sometime later this week. |
This factory handles creating specific PSRP messages to avoid bleeding PSRP details all over the place.
You can use `bundle exec rake integration SPEC=./spec/powershell_spec.rb`
Guys, you do awesome work! |
Finally looking at this again for the first time in a few months... |
Since we're breaking backwards compatibility, I'd like to have the Output class not be a Hash. |
Sounds good @sneal. I'm thinking of essentially just exposing an exitcode method and, at least for now, keeping a internal hash to track the data so much of the inner |
@sneal Here is what I have the output looking like: https://gist.github.com/mwrock/470d06301dff66c2b20b41d67c39a62a |
I'll be adding yard docs, etc, etc |
Updated |
@mwrock It just got real! |
oh yeah! |
closes #106, #105, #169, #197, #203, #208, #194