Skip to content

[Error] IndexError: list index out of range with crackserver.py #2

@s7x

Description

@s7x

Hello,

When running the crackserver and launching the dumper, we encounter the following error:

$ malifar-crackserver 

Listening...
New client
New client
Params b''
Exception: list index out of range
Traceback (most recent call last):
  File "/usr/share/malifar/crackserver.py", line 78, in handle_solver
    nsec3params = NSEC3Params.from_serial(params)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/malifar/nsec3hash.py", line 53, in from_serial
    params[0]=int(params[0])
                  ~~~~~~^^^
IndexError: list index out of range
Params b''
Exception: list index out of range
Traceback (most recent call last):
  File "/usr/share/malifar/crackserver.py", line 78, in handle_solver
    nsec3params = NSEC3Params.from_serial(params)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/malifar/nsec3hash.py", line 53, in from_serial
    params[0]=int(params[0])
                  ~~~~~~^^^
IndexError: list index out of range

Commands Used

# In a terminal
crackserver.py

# In a second terminal
dumper.py io

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions