diff options
author | Isidor Zeuner <guix@quidecco.pl> | 2025-10-05 11:08:26 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-10-12 11:45:10 +0200 |
commit | 7818f1d3d957bd00cb0df8d6b002fe31d4013d18 (patch) | |
tree | 9508effcb0b03158bc3c16c756b645e90dfe356f | |
parent | ea2bde60ede6f9b1d547b37428dac07fe22d88a8 (diff) |
gnu: Add maskprocessor.
* gnu/packages/password-utils.scm (maskprocessor): New variable.
Signed-off-by: Ekaitz Zarraga <ekaitz@elenq.tech>
-rw-r--r-- | gnu/packages/password-utils.scm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 1c62f867e7..f7b50fbce7 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -43,6 +43,7 @@ ;;; Copyright © 2024, 2025 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org> +;;; Copyright © 2025 Isidor Zeuner <guix@quidecco.pl> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1584,6 +1585,49 @@ of the box are Windows LM hashes, plus lots of other hashes and ciphers. This is the community-enhanced, \"jumbo\" version of John the Ripper.") (license license:gpl2+)))) +(define-public maskprocessor + (package + (name "maskprocessor") + (version "0.73") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hashcat/maskprocessor") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vv12iwnkzvjsp9bnix0z1m3hbyhasf5nxngp65b4gdlkk7lqnrd")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ;upstream does not provide tests + #:phases + #~(modify-phases %standard-phases + (delete 'bootstrap) + (delete 'configure) + (replace 'build + (lambda* _args + (invoke "gcc" + "-W" + "-Wall" + "-Werror" + "-std=c99" + "-O2" + "-DLINUX" + "-o" + "maskprocessor" + "src/mp.c"))) + (replace 'install + (lambda* _args + (install-file "maskprocessor" + (string-append #$output "/bin"))))))) + (home-page "https://github.com/hashcat/maskprocessor") + (synopsis "High-Performance word generator") + (description "Maskprocessor is a high-performance word generator with a +per-position configureable charset.") + (license (list license:expat)))) + (define-public fpm2 (package (name "fpm2") |