Skip to content

wifite crashes on tshark's invalid ouput #8

@yedpodtrzitko

Description

@yedpodtrzitko

Hi,
tshark can output some mess on its start, which can cause IndexError during output parsing

tshark's output:
/usr/lib64/libwireshark.so.2: undefined symbol: py_create_dissector_handle

problem line:
def has_handshake_tshark(target, capfile):
...
dst = fields[4].lower()
...

actual result:
IndexError

expected result:
invalid line is skipped

fixed in yedpodtrzitko/wifite@d647b8e5404693cd2b22285bcba7916a72f4d995

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