john/john.spec

134 lines
5.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package john
#
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
%define johndir %{_datadir}/john
%define jumboversion john-1.9.0-jumbo-1
Name: john
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
Version: 1.9.0
- update to 1.7.9: + Added optional parallelization of the MD5-based crypt(3) code with OpenMP. + Added optional parallelization of the bitslice DES code with OpenMP. + Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there's just one salt (or very few salts). + Optimized the DES S-box x86-64 (16-register SSE2) assembly code. + Added support for 10-character DES-based tripcodes (not optimized yet). + Added support for the "$2y$" prefix of bcrypt hashes. + Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M). + Added two pre-defined external mode variables: "abort" and "status", which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively. + Made some minor optimizations to external mode function calls and virtual machine implementation. + The "--make-charset" option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_* settings in params.h. + Added runtime detection of Intel AVX and AMD XOP instruction set extensions, with optional fallback to an alternate program binary. + Added relbench, a Perl script to compare two "john --test" benchmark runs, such as for different machines, "make" targets, C compilers, optimization options, or/and versions of John the Ripper. + Additional public lists of "top N passwords" have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list. + Many minor enhancements and a few bug fixes were made. - updated jumbo patch to 1.7.9-jumbo-6 - specfile cleanup (using spec-cleaner) OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=28
2012-07-13 06:16:22 +00:00
Release: 0
Summary: Utility to detect weak passwords
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
License: GPL-2.0-or-later
- update to 1.7.9: + Added optional parallelization of the MD5-based crypt(3) code with OpenMP. + Added optional parallelization of the bitslice DES code with OpenMP. + Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there's just one salt (or very few salts). + Optimized the DES S-box x86-64 (16-register SSE2) assembly code. + Added support for 10-character DES-based tripcodes (not optimized yet). + Added support for the "$2y$" prefix of bcrypt hashes. + Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M). + Added two pre-defined external mode variables: "abort" and "status", which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively. + Made some minor optimizations to external mode function calls and virtual machine implementation. + The "--make-charset" option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_* settings in params.h. + Added runtime detection of Intel AVX and AMD XOP instruction set extensions, with optional fallback to an alternate program binary. + Added relbench, a Perl script to compare two "john --test" benchmark runs, such as for different machines, "make" targets, C compilers, optimization options, or/and versions of John the Ripper. + Additional public lists of "top N passwords" have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list. + Many minor enhancements and a few bug fixes were made. - updated jumbo patch to 1.7.9-jumbo-6 - specfile cleanup (using spec-cleaner) OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=28
2012-07-13 06:16:22 +00:00
Group: Productivity/Security
URL: https://www.openwall.com/john/
Source: https://www.openwall.com/john/k/%{name}-%{version}.tar.xz
Source1: https://www.openwall.com/john/k/%{name}-%{version}.tar.xz.sign
- update to 1.7.9: + Added optional parallelization of the MD5-based crypt(3) code with OpenMP. + Added optional parallelization of the bitslice DES code with OpenMP. + Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there's just one salt (or very few salts). + Optimized the DES S-box x86-64 (16-register SSE2) assembly code. + Added support for 10-character DES-based tripcodes (not optimized yet). + Added support for the "$2y$" prefix of bcrypt hashes. + Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M). + Added two pre-defined external mode variables: "abort" and "status", which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively. + Made some minor optimizations to external mode function calls and virtual machine implementation. + The "--make-charset" option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_* settings in params.h. + Added runtime detection of Intel AVX and AMD XOP instruction set extensions, with optional fallback to an alternate program binary. + Added relbench, a Perl script to compare two "john --test" benchmark runs, such as for different machines, "make" targets, C compilers, optimization options, or/and versions of John the Ripper. + Additional public lists of "top N passwords" have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list. + Many minor enhancements and a few bug fixes were made. - updated jumbo patch to 1.7.9-jumbo-6 - specfile cleanup (using spec-cleaner) OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=28
2012-07-13 06:16:22 +00:00
Source2: %{name}.8.gz
Source3: %{name}-rpmlintrc
Source6: mailer.8
Source7: relbench.8
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
Source8: https://www.openwall.com/john/k/%{jumboversion}.tar.xz
Source9: https://www.openwall.com/john/k/%{jumboversion}.tar.xz.sign
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: gmp-devel
BuildRequires: libpcap-devel
BuildRequires: libusb-devel
BuildRequires: opencl-headers
BuildRequires: pkgconfig
BuildRequires: pkgconfig(OpenCL)
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(openssl)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
John the Ripper is a password cracker (password security auditing
tool). Its primary purpose is to detect weak passwords, and a
number of other hash types are supported to that end.
%prep
%setup -q -a8
cd %{jumboversion} && cp -a ./* ..
cd ..
rm -r %{jumboversion}
# adapt the configs
perl -pi -e "s#Wordlist = (.*)#Wordlist = %{johndir}/password.lst#g" $RPM_BUILD_DIR/%{name}-%{version}/run/john.conf
perl -pi -e 's#^(\#define JOHN_SYSTEMWIDE_EXEC)\s.+$#$1\t\"%{johndir}\"#g' $RPM_BUILD_DIR/%{name}-%{version}/src/params.h
- update to 1.7.9: + Added optional parallelization of the MD5-based crypt(3) code with OpenMP. + Added optional parallelization of the bitslice DES code with OpenMP. + Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there's just one salt (or very few salts). + Optimized the DES S-box x86-64 (16-register SSE2) assembly code. + Added support for 10-character DES-based tripcodes (not optimized yet). + Added support for the "$2y$" prefix of bcrypt hashes. + Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M). + Added two pre-defined external mode variables: "abort" and "status", which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively. + Made some minor optimizations to external mode function calls and virtual machine implementation. + The "--make-charset" option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_* settings in params.h. + Added runtime detection of Intel AVX and AMD XOP instruction set extensions, with optional fallback to an alternate program binary. + Added relbench, a Perl script to compare two "john --test" benchmark runs, such as for different machines, "make" targets, C compilers, optimization options, or/and versions of John the Ripper. + Additional public lists of "top N passwords" have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list. + Many minor enhancements and a few bug fixes were made. - updated jumbo patch to 1.7.9-jumbo-6 - specfile cleanup (using spec-cleaner) OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=28
2012-07-13 06:16:22 +00:00
perl -pi -e 's#^(\#define CFG_FULL_NAME)\s.+$#$1\t\"%{_sysconfdir}/john.conf\"#g' $RPM_BUILD_DIR/%{name}-%{version}/src/params.h
perl -pi -e 's#^(\#define CFG_ALT_NAME)\s.+$#$1\t\"%{_sysconfdir}/john.conf\"#g' $RPM_BUILD_DIR/%{name}-%{version}/src/params.h
perl -pi -e 's#^(\#define WORDLIST_NAME)\s.+$#$1\t\"%{johndir}/password.lst\"#g' $RPM_BUILD_DIR/%{name}-%{version}/src/params.h
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
perl -pi -e 's#^(\#define LOG_NAME)\s.+$#$1\t\"/var/log/john/john.log\"#g' $RPM_BUILD_DIR/%{name}-%{version}/src/params.h
perl -pi -e 's#^(\#define JOHN_SYSTEMWIDE_HOME)\s.+$#$1\t\"%{johndir}\"#g' $RPM_BUILD_DIR/%{name}-%{version}/src/params.h
%build
pushd src
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
%configure --with-systemwide --disable-openmp --enable-fuzz --enable-experimental-code --enable-pkg-config --disable-native-tests --enable-simd=avx
make -s clean
make %{?_smp_mflags}
popd
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
# fix shebang
sed -i 's|#!/usr/bin/env perl|#!/usr/bin/perl|' run/*.pl
sed -i 's|#! /usr/bin/env perl|#!/usr/bin/perl|' run/*.pl
sed -i 's|#!/usr/bin/env python|#!/usr/bin/python|' run/*.py
sed -i 's|#! /usr/bin/env python|#!/usr/bin/python|' run/*.py
sed -i 's|#!/usr/bin/env perl|#!/usr/bin/perl|' run/relbench
%install
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
mkdir -p %{buildroot}{%{_bindir},%{johndir},%{johndir}/wordlists,%{_sysconfdir},%{_mandir}/man8}
mkdir -p %{buildroot}/var/log/john
- update to 1.7.9: + Added optional parallelization of the MD5-based crypt(3) code with OpenMP. + Added optional parallelization of the bitslice DES code with OpenMP. + Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there's just one salt (or very few salts). + Optimized the DES S-box x86-64 (16-register SSE2) assembly code. + Added support for 10-character DES-based tripcodes (not optimized yet). + Added support for the "$2y$" prefix of bcrypt hashes. + Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M). + Added two pre-defined external mode variables: "abort" and "status", which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively. + Made some minor optimizations to external mode function calls and virtual machine implementation. + The "--make-charset" option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_* settings in params.h. + Added runtime detection of Intel AVX and AMD XOP instruction set extensions, with optional fallback to an alternate program binary. + Added relbench, a Perl script to compare two "john --test" benchmark runs, such as for different machines, "make" targets, C compilers, optimization options, or/and versions of John the Ripper. + Additional public lists of "top N passwords" have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list. + Many minor enhancements and a few bug fixes were made. - updated jumbo patch to 1.7.9-jumbo-6 - specfile cleanup (using spec-cleaner) OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=28
2012-07-13 06:16:22 +00:00
install -m 755 run/john %{buildroot}%{_bindir}/
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
install -m 755 run/*.py %{buildroot}%{_bindir}/
install -m 755 run/*.pl %{buildroot}%{_bindir}/
install -m 755 run/un* %{buildroot}%{_bindir}/
install -m 755 run/*2john %{buildroot}%{_bindir}/
install -m 755 run/base64conv %{buildroot}%{_bindir}/
install -m 755 run/relbench %{buildroot}%{_bindir}/
- update to 1.7.9: + Added optional parallelization of the MD5-based crypt(3) code with OpenMP. + Added optional parallelization of the bitslice DES code with OpenMP. + Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there's just one salt (or very few salts). + Optimized the DES S-box x86-64 (16-register SSE2) assembly code. + Added support for 10-character DES-based tripcodes (not optimized yet). + Added support for the "$2y$" prefix of bcrypt hashes. + Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M). + Added two pre-defined external mode variables: "abort" and "status", which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively. + Made some minor optimizations to external mode function calls and virtual machine implementation. + The "--make-charset" option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_* settings in params.h. + Added runtime detection of Intel AVX and AMD XOP instruction set extensions, with optional fallback to an alternate program binary. + Added relbench, a Perl script to compare two "john --test" benchmark runs, such as for different machines, "make" targets, C compilers, optimization options, or/and versions of John the Ripper. + Additional public lists of "top N passwords" have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list. + Many minor enhancements and a few bug fixes were made. - updated jumbo patch to 1.7.9-jumbo-6 - specfile cleanup (using spec-cleaner) OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=28
2012-07-13 06:16:22 +00:00
install -m 755 -p run/mailer %{buildroot}%{_bindir}/
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
install -m 644 -p run/{password.lst,*.chr,d*.conf,h*.conf,k*.conf,r*.conf} %{buildroot}%{johndir}/
install -m 644 -p run/john.conf %{buildroot}%{_sysconfdir}/
touch %{buildroot}%{johndir}/john.local.conf
mkdir -p %{buildroot}%{_datadir}/john/kernels
cp -r run/kernels/* %{buildroot}%{_datadir}/john/kernels/
mkdir -p %{buildroot}%{_datadir}/john/rules
cp -r run/rules/* %{buildroot}%{_datadir}/john/rules/
- update to 1.7.9: + Added optional parallelization of the MD5-based crypt(3) code with OpenMP. + Added optional parallelization of the bitslice DES code with OpenMP. + Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there's just one salt (or very few salts). + Optimized the DES S-box x86-64 (16-register SSE2) assembly code. + Added support for 10-character DES-based tripcodes (not optimized yet). + Added support for the "$2y$" prefix of bcrypt hashes. + Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M). + Added two pre-defined external mode variables: "abort" and "status", which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively. + Made some minor optimizations to external mode function calls and virtual machine implementation. + The "--make-charset" option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_* settings in params.h. + Added runtime detection of Intel AVX and AMD XOP instruction set extensions, with optional fallback to an alternate program binary. + Added relbench, a Perl script to compare two "john --test" benchmark runs, such as for different machines, "make" targets, C compilers, optimization options, or/and versions of John the Ripper. + Additional public lists of "top N passwords" have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list. + Many minor enhancements and a few bug fixes were made. - updated jumbo patch to 1.7.9-jumbo-6 - specfile cleanup (using spec-cleaner) OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=28
2012-07-13 06:16:22 +00:00
# handle documentation - makes rpmlint happy
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
cp README.md %{buildroot}%{_defaultdocdir}/%{name}/
cp -r doc/* %{buildroot}%{_defaultdocdir}/%{name}/
- update to 1.7.9: + Added optional parallelization of the MD5-based crypt(3) code with OpenMP. + Added optional parallelization of the bitslice DES code with OpenMP. + Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there's just one salt (or very few salts). + Optimized the DES S-box x86-64 (16-register SSE2) assembly code. + Added support for 10-character DES-based tripcodes (not optimized yet). + Added support for the "$2y$" prefix of bcrypt hashes. + Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M). + Added two pre-defined external mode variables: "abort" and "status", which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively. + Made some minor optimizations to external mode function calls and virtual machine implementation. + The "--make-charset" option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_* settings in params.h. + Added runtime detection of Intel AVX and AMD XOP instruction set extensions, with optional fallback to an alternate program binary. + Added relbench, a Perl script to compare two "john --test" benchmark runs, such as for different machines, "make" targets, C compilers, optimization options, or/and versions of John the Ripper. + Additional public lists of "top N passwords" have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list. + Many minor enhancements and a few bug fixes were made. - updated jumbo patch to 1.7.9-jumbo-6 - specfile cleanup (using spec-cleaner) OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=28
2012-07-13 06:16:22 +00:00
rm %{buildroot}%{_defaultdocdir}/%{name}/INSTALL
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
rm %{buildroot}%{_defaultdocdir}/%{name}/README
# install man pages
install -m 644 -p %{SOURCE2} %{buildroot}%{_mandir}/man8/
install -Dm644 %{SOURCE6} %{buildroot}%{_mandir}/man8/mailer.8
install -Dm644 %{SOURCE7} %{buildroot}%{_mandir}/man8/relbench.8
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
dos2unix %{buildroot}%{_defaultdocdir}/%{name}/README.krb5tgs-17-18-23.md
%fdupes %{buildroot}
%files
- update to 1.7.9: + Added optional parallelization of the MD5-based crypt(3) code with OpenMP. + Added optional parallelization of the bitslice DES code with OpenMP. + Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there's just one salt (or very few salts). + Optimized the DES S-box x86-64 (16-register SSE2) assembly code. + Added support for 10-character DES-based tripcodes (not optimized yet). + Added support for the "$2y$" prefix of bcrypt hashes. + Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M). + Added two pre-defined external mode variables: "abort" and "status", which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively. + Made some minor optimizations to external mode function calls and virtual machine implementation. + The "--make-charset" option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_* settings in params.h. + Added runtime detection of Intel AVX and AMD XOP instruction set extensions, with optional fallback to an alternate program binary. + Added relbench, a Perl script to compare two "john --test" benchmark runs, such as for different machines, "make" targets, C compilers, optimization options, or/and versions of John the Ripper. + Additional public lists of "top N passwords" have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list. + Many minor enhancements and a few bug fixes were made. - updated jumbo patch to 1.7.9-jumbo-6 - specfile cleanup (using spec-cleaner) OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=28
2012-07-13 06:16:22 +00:00
%doc %{_defaultdocdir}/%{name}/
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
%{_mandir}/man8/john.8%{?ext_man}
%{_mandir}/man8/mailer.8%{?ext_man}
%{_mandir}/man8/relbench.8%{?ext_man}
%{_bindir}/*
%dir %{johndir}
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
%dir %{johndir}/kernels/
%{johndir}/kernels/*
%dir %{johndir}/rules/
%{johndir}/rules/*
%dir %{johndir}/wordlists
%attr(644,root,root) %{johndir}/password.lst
%attr(644,root,root) %{johndir}/*.chr
%attr(644,root,root) %{johndir}/d*.conf
%attr(644,root,root) %{johndir}/h*.conf
%attr(644,root,root) %{johndir}/k*.conf
%attr(644,root,root) %{johndir}/r*.conf
- update to 1.7.9: + Added optional parallelization of the MD5-based crypt(3) code with OpenMP. + Added optional parallelization of the bitslice DES code with OpenMP. + Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there's just one salt (or very few salts). + Optimized the DES S-box x86-64 (16-register SSE2) assembly code. + Added support for 10-character DES-based tripcodes (not optimized yet). + Added support for the "$2y$" prefix of bcrypt hashes. + Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M). + Added two pre-defined external mode variables: "abort" and "status", which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively. + Made some minor optimizations to external mode function calls and virtual machine implementation. + The "--make-charset" option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_* settings in params.h. + Added runtime detection of Intel AVX and AMD XOP instruction set extensions, with optional fallback to an alternate program binary. + Added relbench, a Perl script to compare two "john --test" benchmark runs, such as for different machines, "make" targets, C compilers, optimization options, or/and versions of John the Ripper. + Additional public lists of "top N passwords" have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list. + Many minor enhancements and a few bug fixes were made. - updated jumbo patch to 1.7.9-jumbo-6 - specfile cleanup (using spec-cleaner) OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=28
2012-07-13 06:16:22 +00:00
%config (noreplace) %{_sysconfdir}/john.conf
Accepting request 708923 from home:Simmphonie - spec-file changes + add jumbo scripts and remove "env" from shebang + remove patches. In upstream already + use configure to find dependenices and CPU architecture + openCL support + multicore support with fork option + require CPU with AVX support at least + root rights are no longer required - update to 1.9.0 + Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. + Recognize the $2b$ bcrypt prefix. + In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. + Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. + Benchmark using all-different candidate passwords of length 7 by default. + Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. + Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). + Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. + When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". + Forward SIGTERM to --fork'ed children. + Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". + On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. + Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. + Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) + Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) + Added linux-sparc64 make target. + Made a minor optimization to MMX and SSE2 assembly code for LM hash. + Dropped Ultrix and SCO support. + Don't probe for alternate config file names (like john.ini when on Unix). + "DokuWiki" external mode sample has been added to the default john.conf. + Fixed operator precedence in the external mode compiler to be the same as C. + Fixed an out of bounds write bug in the external mode virtual machine. + Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. + Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. + Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. + Made assorted other bugfixes, portability and documentation enhancements. - version 1.7.9.8 + Revised the incremental mode to let the current character counts grow for each character position independently, with the aim to improve efficiency in terms of successful guesses per candidate passwords tested. + Revised the pre-defined incremental modes, as well as external mode filters that are used to generate .chr files. + Added makechr, a script to (re-)generate .chr files. + Enhanced the status reporting to include four distinct speed metrics (g/s, p/s, c/s, and C/s). + Added the "--fork=N" and "--node=MIN[-MAX]/TOTAL" options for trivial parallel and distributed processing. + In the external mode compiler, treat character literals as unsigned. + Renamed many of the formats. + Updated the documentation. + Relaxed the license for many source files to cut-down BSD. + Relaxed the license for John the Ripper as a whole from GPLv2 (exact version) to GPLv2 or newer with optional OpenSSL and unRAR exceptions. + Assorted other changes have been made. OBS-URL: https://build.opensuse.org/request/show/708923 OBS-URL: https://build.opensuse.org/package/show/security/john?expand=0&rev=55
2019-06-15 14:56:35 +00:00
%config (noreplace) %{johndir}/john.local.conf
%attr(775,root,users) %dir /var/log/john
%changelog