Skip to content

Update#2

Merged
polluks merged 174 commits intopolluks:masterfrom
microsoft:master
Feb 18, 2020
Merged

Update#2
polluks merged 174 commits intopolluks:masterfrom
microsoft:master

Conversation

@polluks
Copy link
Owner

@polluks polluks commented Feb 18, 2020

No description provided.

Bruce Campbell and others added 30 commits June 26, 2017 13:50
Clean up code

Automatic restart and shutdown
sarojcare and others added 29 commits September 27, 2018 07:41
 - Previously a check was performed to see if the current message was
   sent over SSL. In cases where the message was sent as
   Content-Type: multipart/encrypted, the message would be improperly parsed
   resulting in a 401 unauthorized being sent to the client.

   By all accounts, the PSRP implementation on Windows in PowerShell 5 and
   PowerShell 6 allows a multipart/encrypted message to be sent in response
   to the challenge message.

   Since the Http_DecryptData function already ignores / returns immediately
   for messages that are not multipart/encrypted, this change should
   simply make the protocol handling more tolerant.

 - This fixes an issue when trying to establish a connection to an OMI server
   from the WinRM Ruby library where NTLM/SPNEGO is enabled in the OMI server.
 - Previously a check was performed when writing headers to see if the current
   handler is operating over SSL. In cases where the message was sent as
   Content-Type: multipart/encrypted, the message response would be returned
   as application/soap+xml if the transport was HTTPS. This could confuse
   clients (such as the winrm gem) as they are expecting a response of
   multipart/encrypted.

   By all accounts, the PSRP implementation on Windows in PowerShell 5 and
   PowerShell 6 allows multipart/encrypted spnego messages to be sent over
   HTTPS.

   Since the code already checks for handler->encryptedTransaction prior to
   determining how to write response headers, it is safe to remove the SSL
   check to allow mulitpart/encrypted over HTTPS. This change should
   simply make the protocol handling more tolerant.

 - This fixes an issue when trying to establish a connection to an OMI server
   from the WinRM Ruby library where NTLM/SPNEGO is enabled in the OMI server.

 - Similarly change the behavior in httpclient.c to match what has been changed
   on the server response writing in this commit, and the server request
   reading in the prior commit ebe43ea
Removed runtimes/osx/native  from mkdir -p runtimes/linux-x64/native
@polluks polluks merged commit 836b961 into polluks:master Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comments