Skip to content

Commit 013631f

Browse files
committed
Add markov resume tests. Closes #56.
1 parent e0c4307 commit 013631f

File tree

3 files changed

+4012
-0
lines changed

3 files changed

+4012
-0
lines changed

jtrts.pl

+6
Original file line numberDiff line numberDiff line change
@@ -1428,6 +1428,12 @@ sub doRestoreMode {
14281428
doOneRestore("Wordlist+RexGen", "-w=bitcoin_restart_rules_tst.dic", "bitcoin_restart_rules_tst.in", 2000, 20, "bitcoin", "-regex=\\\\0[0-9][0-9]");
14291429
}
14301430

1431+
# now test markov.
1432+
doOneRestore("Markov", "-markov", "markov_resume_tst.in", 2000, 20, "bitcoin", "");
1433+
1434+
# now test markov+mask.
1435+
doOneRestore("Markov", "-markov", "markov_mask_resume_tst.in", 2000, 20, "bitcoin", "-mask:?w?d?d");
1436+
14311437
# now test wordlist
14321438
# grow the tst-pw-new.dic file from pw file using rules:
14331439
my $cmd = "$JOHN_EXE -rules=appendNumNum --stdout --w=bitcoin_restart_rules_tst.dic > tst-pw-new.dic 2>/dev/null";

0 commit comments

Comments
 (0)