fortra/impacket

NTDSHashes.__init__() got an unexpected keyword argument 'skipUser'

sunilink opened this issue · 3 comments

Configuration

impacket version: 0.11.0
Python version: 3.12
Target OS: Windows

py secretsdump.py is.local/newadmin:!qaz2wsx3edc@192.168.1.77 -just-dc-ntlm -user-status

Impacket v0.11.0 - Copyright 2023 Fortra
[-] NTDSHashes.init() got an unexpected keyword argument 'skipUser'
[*] Cleaning up...

I tried reinstalling impacket, it doesn't work

Same issue but when dumping SAM using a local admin account.

In the base impacket folder,
pip3 install .
Try again.
This worked for me.

Ah thank you! I had installed under the sudo user, so my fix was just to re-run the command as sudo, but I think your fix would've worked for me too.