Merge pull request #49 from Pennyw0rth/neff-bugfixes

main
Alex 2023-10-04 02:55:42 +02:00 committed by GitHub
commit dec35a526b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -356,6 +356,7 @@ class smb(connection):
hash_ntlm = hashlib.new("md4", msMCSAdmPwd.encode("utf-16le")).digest() hash_ntlm = hashlib.new("md4", msMCSAdmPwd.encode("utf-16le")).digest()
self.hash = binascii.hexlify(hash_ntlm).decode() self.hash = binascii.hexlify(hash_ntlm).decode()
self.args.local_auth = True
self.domain = self.hostname self.domain = self.hostname
self.logger.extra["protocol"] = "SMB" self.logger.extra["protocol"] = "SMB"
self.logger.extra["port"] = "445" self.logger.extra["port"] = "445"