Skip to content

Commit

Permalink
john: Fix wordlist parameter for parsing ext wordlists
Browse files Browse the repository at this point in the history
  • Loading branch information
kimocoder committed Dec 18, 2022
1 parent 6937455 commit 87a8d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wifite/tools/john.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def crack_handshake(handshake, show_command=False):
john_format = 'wpapsk'

# Crack john file
command = ['john', f'--format={john_format}', '--wordlist', Configuration.wordlist, john_file]
command = ['john', f'--format={john_format}', f'--wordlist={Configuration.wordlist}', john_file]
if show_command:
Color.pl('{+} {D}Running: {W}{P}%s{W}' % ' '.join(command))
process = Process(command)
Expand Down

1 comment on commit 87a8d44

@kimocoder
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

John didn't read the configuration, so JTR rather used "plan b", reading the John dict. This fixes it, but John still got problem with reading the regex from stdout. We're working to find a solution.

Please sign in to comment.