openwall / openwall/john

hybrid external mode does not work with regular mask as source

Open
#4,114 1 comment 0 reactions 1 assignee View on GitHub

@magnumripper is already working on this.

Since Nov 21, 2020.

bug
Dominant language
C
Stars
13.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

When there are hybrid external mode and regular mask together, mask works and hybrid external mode is ignored. It does not produce error. And external does not affect the output.

Bad:

$ ./JohnTheRipper/run/john --stdout --mask='[ab]' --external=hybrid_example
a
b
2p 0:00:00:00 100,00% (2019-10-10 19:26) 28.57p/s b

mask then hybrid external using temporary wordlist is ok:

$ ./JohnTheRipper/run/john --mask='[ab]' --stdout > t.wl
Press 'q' or Ctrl-C to abort, almost any other key for status
2p 0:00:00:00 100,00% (2019-10-10 19:26) 28.57p/s b

$ ./JohnTheRipper/run/john --wordlist=t.wl --stdout --external=hybrid_example
Using default input encoding: UTF-8
a_00
a__01
a___02
[...]

john is quite fresh (has opencl; openmp is disabled):

Version: 1.9.0-jumbo-1+bleeding-ea33667eb 2019-09-23 12:43:34 +0200
Build: linux-gnu 64-bit x86_64 AVX2 AC

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.