Skip to content

KeyError 'F' when attempting to combine -f and -n options #8

@forensic65x

Description

@forensic65x

I am trying to create a password list that appends numbers to each word in the full password list.

When looping the results of the full password list, passgen.py is generating this error on multiple words.

Traceback (most recent call last):
File "passgen.py", line 56, in
passwords = appendNumbers(password)
File "/opt/PassGen/substitute.py", line 31, in appendNumbers
return basicSub(password, True)
File "/opt/PassGen/substitute.py", line 24, in basicSub
replacements = product(subDict[password[0]], characterList)
KeyError: 'F'

When I run those options separately on each word, no error is generated.

Any suggestions?

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