Skip to content

Commit

Permalink
Merge pull request #1432 from nobbd/master
Browse files Browse the repository at this point in the history
Update httprelayclient.py to force NTLM auth if anonymous auth is enabled (ADCS)
  • Loading branch information
0xdeaddood authored Apr 11, 2023
2 parents 5026d26 + f1aba9c commit 4d45b43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions impacket/examples/ntlmrelayx/clients/httprelayclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def sendNegotiate(self,negotiateMessage):
LOG.error('No authentication requested by the server for url %s' % self.targetHost)
if self.serverConfig.isADCSAttack:
LOG.info('IIS cert server may allow anonymous authentication, sending NTLM auth anyways')
self.authenticationMethod = "NTLM"
else:
return False

Expand Down

0 comments on commit 4d45b43

Please sign in to comment.