Closed meetgyn closed 4 years ago
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots Traceback (most recent call last): File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run File "/usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg/cme/protocols/smb.py", line 110, in init connection.init(self, args, db, host) File "/usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg/cme/connection.py", line 47, in init self.proto_flow() File "/usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg/cme/connection.py", line 82, in proto_flow self.login() File "/usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg/cme/connection.py", line 251, in login if self.plaintext_login(self.domain, user, password): return True File "/usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg/cme/protocols/smb.py", line 281, in plaintext_login self.conn.login(username, password, domain) File "/usr/lib/python3/dist-packages/impacket/smbconnection.py", line 265, in login return self._SMBConnection.login(user, password, domain, lmhash, nthash, ntlmFallback) File "/usr/lib/python3/dist-packages/impacket/smb.py", line 3385, in login self.login_extended(user, password, domain, lmhash, nthash, use_ntlmv2 = True) File "/usr/lib/python3/dist-packages/impacket/smb.py", line 3293, in login_extended type3, exportedSessionKey = ntlm.getNTLMSSPType3(auth, respToken['ResponseToken'], user, password, domain, lmhash, nthash, use_ntlmv2 = use_ntlmv2) File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 631, in getNTLMSSPType3 ntResponse, lmResponse, sessionBaseKey = computeResponse(ntlmChallenge['flags'], ntlmChallenge['challenge'], File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 39, in computeResponse return computeResponseNTLMv2(flags, serverChallenge, clientChallenge, serverName, domain, user, password, File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 902, in computeResponseNTLMv2 responseKeyNT = NTOWFv2(user, password, domain, nthash) File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 891, in NTOWFv2 return hmac_md5(theHash, user.upper().encode('utf-16le') + domain.encode('utf-16le')) File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 882, in hmac_md5 h = hmac.new(key) File "/usr/lib/python3.8/hmac.py", line 153, in new return HMAC(key, msg, digestmod) File "/usr/lib/python3.8/hmac.py", line 51, in init raise TypeError("Missing required parameter 'digestmod'.") TypeError: Missing required parameter 'digestmod'. 2020-06-06T19:51:50Z <Greenlet at 0x7f1db2b67590: smb(Namespace(aesKey=False, clear_obfscripts=False, co, <protocol.database object at 0x7f1db2b05640>, '172.16.0.9')> failed with TypeError
Crackmapexec info
Additional context no
https://github.com/byt3bl33d3r/CrackMapExec/issues/386
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots Traceback (most recent call last): File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run File "/usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg/cme/protocols/smb.py", line 110, in init connection.init(self, args, db, host) File "/usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg/cme/connection.py", line 47, in init self.proto_flow() File "/usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg/cme/connection.py", line 82, in proto_flow self.login() File "/usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg/cme/connection.py", line 251, in login if self.plaintext_login(self.domain, user, password): return True File "/usr/local/lib/python3.8/dist-packages/crackmapexec-5.0.2.dev0-py3.8.egg/cme/protocols/smb.py", line 281, in plaintext_login self.conn.login(username, password, domain) File "/usr/lib/python3/dist-packages/impacket/smbconnection.py", line 265, in login return self._SMBConnection.login(user, password, domain, lmhash, nthash, ntlmFallback) File "/usr/lib/python3/dist-packages/impacket/smb.py", line 3385, in login self.login_extended(user, password, domain, lmhash, nthash, use_ntlmv2 = True) File "/usr/lib/python3/dist-packages/impacket/smb.py", line 3293, in login_extended type3, exportedSessionKey = ntlm.getNTLMSSPType3(auth, respToken['ResponseToken'], user, password, domain, lmhash, nthash, use_ntlmv2 = use_ntlmv2) File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 631, in getNTLMSSPType3 ntResponse, lmResponse, sessionBaseKey = computeResponse(ntlmChallenge['flags'], ntlmChallenge['challenge'], File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 39, in computeResponse return computeResponseNTLMv2(flags, serverChallenge, clientChallenge, serverName, domain, user, password, File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 902, in computeResponseNTLMv2 responseKeyNT = NTOWFv2(user, password, domain, nthash) File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 891, in NTOWFv2 return hmac_md5(theHash, user.upper().encode('utf-16le') + domain.encode('utf-16le')) File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 882, in hmac_md5 h = hmac.new(key) File "/usr/lib/python3.8/hmac.py", line 153, in new return HMAC(key, msg, digestmod) File "/usr/lib/python3.8/hmac.py", line 51, in init raise TypeError("Missing required parameter 'digestmod'.") TypeError: Missing required parameter 'digestmod'. 2020-06-06T19:51:50Z <Greenlet at 0x7f1db2b67590: smb(Namespace(aesKey=False, clear_obfscripts=False, co, <protocol.database object at 0x7f1db2b05640>, '172.16.0.9')> failed with TypeError
Crackmapexec info
Additional context no