Skip to content

Issues with larger potfiles #4

@ZephrFish

Description

@ZephrFish

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions