graphcat icon indicating copy to clipboard operation
graphcat copied to clipboard

Issues with larger potfiles

Open ZephrFish opened this issue 2 years ago • 0 comments

I've been having issues with using graphcat especially if the potfile is larger than 10mb;

python3 graphcat.py -potfile ../hashcat.potfile -hashfile ../zephr.lab.ntds -debug -format 3 -export-charts
[-] Parsing potfile
[-] 552945 entries in potfile
[-] Parsing hashfile
[-] 39584 entries in hashfile
[-] Generating graphs...
Traceback (most recent call last):
  File "graphcat.py", line 661, in <module>
    executor.gen_stat()
  File "graphcat.py", line 248, in gen_stat
    total_user = len(self.all_nt_hash)
  File "graphcat.py", line 626, in all_nt_hash
    self._all_nt_hash = [user.secret.nthash for user in self.users.values()]
  File "graphcat.py", line 597, in users
    username, nthash = self.parse_ntds_line(line)
  File "graphcat.py", line 565, in parse_ntds_line
    return elements[0], elements[3].lower()
IndexError: list index out of range
ERROR: list index out of range

This is just an example above but I've had it with several DITs and potfiles

ZephrFish avatar Nov 24 '23 11:11 ZephrFish