[GH-ISSUE #2480] ./john --list=rules prints section names of john-local.conf twice #1639

Closed
opened 2026-10-15 04:21:41 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @frank-dittrich on GitHub (Mar 23, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2480

(bleeding-jumbo)run $ grep -i -n localtest *conf*
john-local.conf:1:[List.Rules:fdlocaltest]
john-local.conf:3:[List.Rules:anotherlocaltestsection]
(bleeding-jumbo)run $ cat john-local.conf
[List.Rules:fdlocaltest]
:
[List.Rules:anotherlocaltestsection]
$
(bleeding-jumbo)run $ ./john --list=rules |sort |uniq -c|sort -nr|head -n 3
      2 fdlocaltest
      2 anotherlocaltestsection
      1 wordlist
(bleeding-jumbo)run $ ./john --list=rules |grep -n -C 1 localtest          
1:anotherlocaltestsection
2:fdlocaltest
3:anotherlocaltestsection
4:fdlocaltest
5-all
Originally created by @frank-dittrich on GitHub (Mar 23, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2480 ``` (bleeding-jumbo)run $ grep -i -n localtest *conf* john-local.conf:1:[List.Rules:fdlocaltest] john-local.conf:3:[List.Rules:anotherlocaltestsection] (bleeding-jumbo)run $ cat john-local.conf [List.Rules:fdlocaltest] : [List.Rules:anotherlocaltestsection] $ (bleeding-jumbo)run $ ./john --list=rules |sort |uniq -c|sort -nr|head -n 3 2 fdlocaltest 2 anotherlocaltestsection 1 wordlist (bleeding-jumbo)run $ ./john --list=rules |grep -n -C 1 localtest 1:anotherlocaltestsection 2:fdlocaltest 3:anotherlocaltestsection 4:fdlocaltest 5-all ```
bsakaguchi 2026-10-15 04:21:41 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@frank-dittrich commented on GitHub (Sep 27, 2017):

Closing this, because the root cause for this problem and others is #2776

<!-- gh-comment-id:332412620 --> @frank-dittrich commented on GitHub (Sep 27, 2017): Closing this, because the root cause for this problem and others is #2776
Author
Owner

@magnumripper commented on GitHub (Dec 5, 2017):

Closing this, because Frank never did 😆

<!-- gh-comment-id:349479618 --> @magnumripper commented on GitHub (Dec 5, 2017): Closing this, because Frank never did 😆
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1639
No description provided.