Skip to content

division by zero #24

@AiYanLang

Description

@AiYanLang

I trained a LSTM network from my own password list.But when I tried to use the network to enumerate passwords, I got a ZeroDivisionError like this:
Traceback (most recent call last):
File "../pwd_guess.py", line 3219, in
main_bundle()
File "../pwd_guess.py", line 3215, in
main_bundle = lambda: main(args)
File "../pwd_guess.py", line 3151, in main
guess(args, config)
File "../pwd_guess.py", line 3093, in guess
.add_file(args['enumerate_ofile'])).build()
File "../pwd_guess.py", line 2776, in build
model_or_serializer, self.config, self.ostream)
File "../pwd_guess.py", line 2240, in init
self.output_serializer = self.make_serializer()
File "../pwd_guess.py", line 2295, in make_serializer
answer = PasswordTemplateSerializer(self.config, answer)
File "../pwd_guess.py", line 1878, in init
self.beg_cache = self.cache_freqs(self.beginning_char_frequencies)
File "../pwd_guess.py", line 1896, in cache_freqs
freqs, template_char, preimage)
File "../pwd_guess.py", line 1901, in _calc
lambda c: freqs[c], self.preimage[template_char]))
ZeroDivisionError: division by zero

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