-
Notifications
You must be signed in to change notification settings - Fork 211
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
Failed on Windows 10.0.18362 #3
Comments
Is anything already listening on port 5985 like WinRM? |
No, nothing is listening on 5985. |
By the way .RoguewinRM v1.1 works on the testing windows 10 1903 x64 @CCob |
The other possibility is BITS was already running. BITS only attempts to connect to WinRM on startup, so if the BITS service is already started due to an ongoing download or a recent COM invocation of BITS, this is another reason it wont work. If that is also untrue for your situation I'd suggest adding debug code into the WinRM connection thread to see if you do get a connection from BITS at least. As for me here on 1903 it works fine, so hard to debug. |
I stopped the BITS and run it get below errors:
|
Hmm, that's a strange one. Here is the likely offending line. https://github.com/CCob/SweetPotato/blob/master/PotatoAPI.cs#L93 Which means that the authentication header was either not set, or the regular expression for extracting it is buggy is some situations. But unless I can get a packet capture using wireshark on loopback when you get the exception above I cant see what the problem is. Thanks |
https://drive.google.com/open?id=1PZes-CBdvvjASWmBxsZNiUs6FvYY_dDi |
Can you try issue3 branch? I've added some additional debugging logic to LocalNegotiator. This appears to be failing on your pcap sample. |
The output:
The pcap: |
Thanks. I've pushed some additional changes to the issue3 branch. Can you try again? Out of interest, is the machine domain joined? So far I've only tested on non domain joined machines. |
@CCob This time It works. Good job!!! |
Nice, looks like the security buffer wasn't large enough to hold challenge response in your environment. I'll get this merged back into master. Thanks for your help debugging. |
Merged into master, so closing. |
While using SweetPotato with default CLSID on Windows 10.0.18362 (x64),it failed with following output:
The text was updated successfully, but these errors were encountered: