[GH-ISSUE #1011] Implement PRINCE mode #612

Closed
opened 2026-10-14 03:15:21 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @magnumripper on GitHub (Jan 8, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1011

Originally assigned to: @magnumripper on GitHub.

Atom released princeprocessor under a MIT license so we can base a mode on his code if we want to.

https://github.com/jsteube/princeprocessor

Originally created by @magnumripper on GitHub (Jan 8, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1011 Originally assigned to: @magnumripper on GitHub. Atom released princeprocessor under a MIT license so we can base a mode on his code if we want to. https://github.com/jsteube/princeprocessor
bsakaguchi 2026-10-14 03:15:21 +07:00
Author
Owner

@magnumripper commented on GitHub (Jan 8, 2015):

What would be really cool though, is implementing it on GPU. I assume Atom will do so (if at all applicable). Just load stuff to GPU memory once, and after that almost no PCI transfers.

<!-- gh-comment-id:69249025 --> @magnumripper commented on GitHub (Jan 8, 2015): What would be _really_ cool though, is implementing it on GPU. I assume Atom will do so (if at all applicable). Just load stuff to GPU memory once, and after that almost no PCI transfers.
Author
Owner

@magnumripper commented on GitHub (Jan 10, 2015):

http://www.openwall.com/lists/john-dev/2015/01/09/1

<!-- gh-comment-id:69429904 --> @magnumripper commented on GitHub (Jan 10, 2015): http://www.openwall.com/lists/john-dev/2015/01/09/1
Author
Owner

@magnumripper commented on GitHub (Jan 10, 2015):

Rough 1st version committed. Works but can't resume and does not support node/fork.

To do:

  • Add info in usage blob
  • Fix external mode filter
  • Add #ifdef JTR_MODE ... #else ... #endif blocks with original code blocks put back
  • Indent "our" code the same way as the original code (as much as I hate it).
  • Fix session save/restore
  • Fix node/fork/MPI support
  • Fix ETA/Progress
  • Support changing min/max number of elements per chain (pp64's --elem-cnt-min/max)
  • Support calculating output length distribution from wordlist (pp64's --wl-dist-len)
<!-- gh-comment-id:69442018 --> @magnumripper commented on GitHub (Jan 10, 2015): Rough 1st version committed. Works but can't resume and does not support node/fork. To do: - [x] Add info in usage blob - [x] Fix external mode filter - [x] Add `#ifdef JTR_MODE ... #else ... #endif` blocks with original code blocks put back - [x] Indent "our" code the same way as the original code (as much as I hate it). - [x] Fix session save/restore - [x] Fix node/fork/MPI support - [x] Fix ETA/Progress - [x] Support changing min/max number of elements per chain (pp64's --elem-cnt-min/max) - [x] Support calculating output length distribution from wordlist (pp64's --wl-dist-len)
Author
Owner

@frank-dittrich commented on GitHub (Jan 10, 2015):

Rough 1st version committed.

Where is that commit?

EDIT: I see it now. You created a separate pp branch.

<!-- gh-comment-id:69450147 --> @frank-dittrich commented on GitHub (Jan 10, 2015): > Rough 1st version committed. Where is that commit? EDIT: I see it now. You created a separate pp branch.
Author
Owner

@magnumripper commented on GitHub (Jan 10, 2015):

I dropped the topic branch now and pushed to main branch. This code won't do any harm to anything else anyway. 37b9517 has all previous commits squashed.

<!-- gh-comment-id:69452911 --> @magnumripper commented on GitHub (Jan 10, 2015): I dropped the topic branch now and pushed to main branch. This code won't do any harm to anything else anyway. 37b9517 has all previous commits squashed.
Author
Owner

@magnumripper commented on GitHub (Jan 11, 2015):

Session resume implemented, but may need tweaks.

<!-- gh-comment-id:69480510 --> @magnumripper commented on GitHub (Jan 11, 2015): Session resume implemented, but may need tweaks.
Author
Owner

@magnumripper commented on GitHub (Jan 11, 2015):

I think this is pretty usable now. For specific bugs found, please open new issues.

<!-- gh-comment-id:69504246 --> @magnumripper commented on GitHub (Jan 11, 2015): I think this is pretty usable now. For specific bugs found, please open new issues.
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#612
No description provided.