mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-20 13:23:38 -07:00
Add ESS downgrade parameter
This commit is contained in:
parent
ae1c2be51c
commit
baf80aa4f0
5 changed files with 7 additions and 3 deletions
|
@ -163,6 +163,7 @@ Options:
|
||||||
with -r. Default: Off
|
with -r. Default: Off
|
||||||
--lm Force LM hashing downgrade for Windows XP/2003 and
|
--lm Force LM hashing downgrade for Windows XP/2003 and
|
||||||
earlier. Default: Off
|
earlier. Default: Off
|
||||||
|
--disable-ess Force ESS downgrade. Default: Off
|
||||||
-v, --verbose Increase verbosity.
|
-v, --verbose Increase verbosity.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,7 @@ parser.add_option('-F','--ForceWpadAuth', action="store_true", help="Force NTLM
|
||||||
parser.add_option('-P','--ProxyAuth', action="store_true", help="Force NTLM (transparently)/Basic (prompt) authentication for the proxy. WPAD doesn't need to be ON. This option is highly effective when combined with -r. Default: False", dest="ProxyAuth_On_Off", default=False)
|
parser.add_option('-P','--ProxyAuth', action="store_true", help="Force NTLM (transparently)/Basic (prompt) authentication for the proxy. WPAD doesn't need to be ON. This option is highly effective when combined with -r. Default: False", dest="ProxyAuth_On_Off", default=False)
|
||||||
|
|
||||||
parser.add_option('--lm', action="store_true", help="Force LM hashing downgrade for Windows XP/2003 and earlier. Default: False", dest="LM_On_Off", default=False)
|
parser.add_option('--lm', action="store_true", help="Force LM hashing downgrade for Windows XP/2003 and earlier. Default: False", dest="LM_On_Off", default=False)
|
||||||
|
parser.add_option('--disable-ess', action="store_true", help="Force ESS downgrade. Default: False", dest="NOESS_On_Off", default=False)
|
||||||
parser.add_option('-v','--verbose', action="store_true", help="Increase verbosity.", dest="Verbose")
|
parser.add_option('-v','--verbose', action="store_true", help="Increase verbosity.", dest="Verbose")
|
||||||
options, args = parser.parse_args()
|
options, args = parser.parse_args()
|
||||||
|
|
||||||
|
|
|
@ -791,7 +791,7 @@ class LDAPNTLMChallenge(Packet):
|
||||||
("NTLMSSPNtWorkstationLen", "\x1e\x00"),
|
("NTLMSSPNtWorkstationLen", "\x1e\x00"),
|
||||||
("NTLMSSPNtWorkstationMaxLen", "\x1e\x00"),
|
("NTLMSSPNtWorkstationMaxLen", "\x1e\x00"),
|
||||||
("NTLMSSPNtWorkstationBuffOffset", "\x38\x00\x00\x00"),
|
("NTLMSSPNtWorkstationBuffOffset", "\x38\x00\x00\x00"),
|
||||||
("NTLMSSPNtNegotiateFlags", "\x15\x82\x89\xe2"),
|
("NTLMSSPNtNegotiateFlags", "\x15\x82\x81\xe2" if settings.Config.NOESS_On_Off else "\x15\x82\x89\xe2"),
|
||||||
("NTLMSSPNtServerChallenge", "\x81\x22\x33\x34\x55\x46\xe7\x88"),
|
("NTLMSSPNtServerChallenge", "\x81\x22\x33\x34\x55\x46\xe7\x88"),
|
||||||
("NTLMSSPNtReserved", "\x00\x00\x00\x00\x00\x00\x00\x00"),
|
("NTLMSSPNtReserved", "\x00\x00\x00\x00\x00\x00\x00\x00"),
|
||||||
("NTLMSSPNtTargetInfoLen", "\x94\x00"),
|
("NTLMSSPNtTargetInfoLen", "\x94\x00"),
|
||||||
|
@ -1331,7 +1331,7 @@ class SMBSession1Data(Packet):
|
||||||
("NTLMSSPNtWorkstationLen","\x1e\x00"),
|
("NTLMSSPNtWorkstationLen","\x1e\x00"),
|
||||||
("NTLMSSPNtWorkstationMaxLen","\x1e\x00"),
|
("NTLMSSPNtWorkstationMaxLen","\x1e\x00"),
|
||||||
("NTLMSSPNtWorkstationBuffOffset","\x38\x00\x00\x00"),
|
("NTLMSSPNtWorkstationBuffOffset","\x38\x00\x00\x00"),
|
||||||
("NTLMSSPNtNegotiateFlags","\x15\x82\x89\xe2"),
|
("NTLMSSPNtNegotiateFlags","\x15\x82\x81\xe2" if settings.Config.NOESS_On_Off else "\x15\x82\x89\xe2"),
|
||||||
("NTLMSSPNtServerChallenge","\x81\x22\x33\x34\x55\x46\xe7\x88"),
|
("NTLMSSPNtServerChallenge","\x81\x22\x33\x34\x55\x46\xe7\x88"),
|
||||||
("NTLMSSPNtReserved","\x00\x00\x00\x00\x00\x00\x00\x00"),
|
("NTLMSSPNtReserved","\x00\x00\x00\x00\x00\x00\x00\x00"),
|
||||||
("NTLMSSPNtTargetInfoLen","\x94\x00"),
|
("NTLMSSPNtTargetInfoLen","\x94\x00"),
|
||||||
|
@ -1651,7 +1651,7 @@ class SMB2Session1Data(Packet):
|
||||||
("NTLMSSPNtWorkstationLen","\x1e\x00"),
|
("NTLMSSPNtWorkstationLen","\x1e\x00"),
|
||||||
("NTLMSSPNtWorkstationMaxLen","\x1e\x00"),
|
("NTLMSSPNtWorkstationMaxLen","\x1e\x00"),
|
||||||
("NTLMSSPNtWorkstationBuffOffset","\x38\x00\x00\x00"),
|
("NTLMSSPNtWorkstationBuffOffset","\x38\x00\x00\x00"),
|
||||||
("NTLMSSPNtNegotiateFlags","\x15\x82\x89\xe2"),
|
("NTLMSSPNtNegotiateFlags","\x15\x82\x81\xe2" if settings.Config.NOESS_On_Off else "\x15\x82\x89\xe2"),
|
||||||
("NTLMSSPNtServerChallenge","\x81\x22\x33\x34\x55\x46\xe7\x88"),
|
("NTLMSSPNtServerChallenge","\x81\x22\x33\x34\x55\x46\xe7\x88"),
|
||||||
("NTLMSSPNtReserved","\x00\x00\x00\x00\x00\x00\x00\x00"),
|
("NTLMSSPNtReserved","\x00\x00\x00\x00\x00\x00\x00\x00"),
|
||||||
("NTLMSSPNtTargetInfoLen","\x94\x00"),
|
("NTLMSSPNtTargetInfoLen","\x94\x00"),
|
||||||
|
|
|
@ -176,6 +176,7 @@ class Settings:
|
||||||
# CLI options
|
# CLI options
|
||||||
self.ExternalIP = options.ExternalIP
|
self.ExternalIP = options.ExternalIP
|
||||||
self.LM_On_Off = options.LM_On_Off
|
self.LM_On_Off = options.LM_On_Off
|
||||||
|
self.NOESS_On_Off = options.NOESS_On_Off
|
||||||
self.WPAD_On_Off = options.WPAD_On_Off
|
self.WPAD_On_Off = options.WPAD_On_Off
|
||||||
self.Wredirect = options.Wredirect
|
self.Wredirect = options.Wredirect
|
||||||
self.NBTNSDomain = options.NBTNSDomain
|
self.NBTNSDomain = options.NBTNSDomain
|
||||||
|
|
1
utils.py
1
utils.py
|
@ -403,6 +403,7 @@ def StartupMessage():
|
||||||
print(' %-27s' % "Force WPAD auth" + (enabled if settings.Config.Force_WPAD_Auth else disabled))
|
print(' %-27s' % "Force WPAD auth" + (enabled if settings.Config.Force_WPAD_Auth else disabled))
|
||||||
print(' %-27s' % "Force Basic Auth" + (enabled if settings.Config.Basic else disabled))
|
print(' %-27s' % "Force Basic Auth" + (enabled if settings.Config.Basic else disabled))
|
||||||
print(' %-27s' % "Force LM downgrade" + (enabled if settings.Config.LM_On_Off == True else disabled))
|
print(' %-27s' % "Force LM downgrade" + (enabled if settings.Config.LM_On_Off == True else disabled))
|
||||||
|
print(' %-27s' % "Force ESS downgrade" + (enabled if settings.Config.NOESS_On_Off == True else disabled))
|
||||||
print(' %-27s' % "Fingerprint hosts" + (enabled if settings.Config.Finger_On_Off == True else disabled))
|
print(' %-27s' % "Fingerprint hosts" + (enabled if settings.Config.Finger_On_Off == True else disabled))
|
||||||
print('')
|
print('')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue