gnu: Add maskprocessor.

* gnu/packages/password-utils.scm (maskprocessor): New variable.

Signed-off-by: Ekaitz Zarraga <ekaitz@elenq.tech>
This commit is contained in:
Isidor Zeuner 2025-10-05 11:08:26 +02:00 committed by Ekaitz Zarraga
parent ea2bde60ed
commit 7818f1d3d9
No known key found for this signature in database
GPG key ID: FDB952BD3F7356D6

View file

@ -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")