Skip to content

Commit

Permalink
fix: intersect allowed authentication methods with client supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbl committed Jun 6, 2020
1 parent 2a5684f commit c609f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrdp/mitm/X224MITM.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def onConnectionRequest(self, pdu: X224ConnectionRequestPDU):

if chosenProtocols is not None:
# Tell the server we only support the allowed authentication methods.
chosenProtocols = self.state.config.authMethods
chosenProtocols &= self.state.config.authMethods

modifiedRequest = NegotiationRequestPDU(
self.originalRequest.cookie,
Expand Down

0 comments on commit c609f88

Please sign in to comment.