-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e15b210
commit cb1fd26
Showing
104 changed files
with
3,067 additions
and
2,311 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
john (1.9.0-2) unstable; urgency=medium | ||
|
||
* Team upload. | ||
* Restrict current testsuite to amd64 and i386 architectures as | ||
--method=crypt and multialgorithm hash files are not supported | ||
in all architectures. | ||
|
||
-- Marcos Fouces <[email protected]> Sun, 14 Aug 2022 00:40:53 +0200 | ||
|
||
john (1.9.0-1) unstable; urgency=medium | ||
|
||
[ Marcos Fouces ] | ||
* Team upload. | ||
* New upstream version 1.9.0 | ||
* Rework patches for new upstream release. | ||
* Remove acute accent in john.8 manual page. | ||
* Conversion of 'CREDITS' file to utf-8 encoding. | ||
|
||
[ Axel Beckert ] | ||
* Salsa CI: Ignore a specific assembler line in blhc. Adding $CPPFLAGS | ||
to it causes an unexpected FTBFS due to a missing file. | ||
|
||
[ Jan Gru ] | ||
* Add autopkgtests | ||
|
||
-- Marcos Fouces <[email protected]> Sat, 06 Aug 2022 20:29:52 +0200 | ||
|
||
john (1.8.0-4) unstable; urgency=medium | ||
|
||
* Also unconditionally and always call "mkdir -p $RUNDIR" in cron | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,10 @@ Copyright: © 1999-2001, Jordi Mallach <[email protected]> | |
© 1999-2001, Jeronimo Pellegrini <[email protected]> | ||
License: GPL-2+ | ||
|
||
Files: debian/tests/* | ||
Copyright: © 2021, Jan Gruber <[email protected]> | ||
License: GPL-2+ | ||
|
||
Files:src/MD5_std.* | ||
Copyright: © 1996-2006, Solar Designer <[email protected]> | ||
License: GPL-2+ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,8 @@ Author: Ruben Molina <[email protected]> | |
Last-Update: 2013-06-04 | ||
Forwarded: no | ||
|
||
Index: john-1.8.0/src/Makefile | ||
=================================================================== | ||
--- john-1.8.0.orig/src/Makefile 2013-05-29 18:21:25.000000000 -0500 | ||
+++ john-1.8.0/src/Makefile 2013-06-04 01:17:22.272040456 -0500 | ||
--- a/src/Makefile | ||
+++ b/src/Makefile | ||
@@ -18,7 +18,7 @@ | ||
TR = tr | ||
SED = sed | ||
|
@@ -16,12 +14,12 @@ Index: john-1.8.0/src/Makefile | |
OMPFLAGS = | ||
# gcc with OpenMP | ||
#OMPFLAGS = -fopenmp | ||
@@ -28,11 +28,11 @@ | ||
#OMPFLAGS = -fopenmp -D_FORTIFY_SOURCE=0 | ||
@@ -30,11 +30,11 @@ | ||
#OMPFLAGS = -openmp | ||
# Sun Studio with OpenMP (set the OMP_NUM_THREADS env var at runtime) | ||
#OMPFLAGS = -xopenmp | ||
-CFLAGS = -c -Wall -Wdeclaration-after-statement -O2 -fomit-frame-pointer $(OMPFLAGS) | ||
+CFLAGS += -c -Wall -Wdeclaration-after-statement -O2 -fomit-frame-pointer $(OMPFLAGS) | ||
-CFLAGS = -c -Wall -O2 -fomit-frame-pointer $(OMPFLAGS) | ||
+CFLAGS += -c -Wall -O2 -fomit-frame-pointer $(OMPFLAGS) | ||
# CFLAGS for use on the main john.c file only | ||
CFLAGS_MAIN = $(CFLAGS) | ||
ASFLAGS = -c $(OMPFLAGS) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
Description: allows CFG_FULL_NAME/CFG_ALT_NAME modification from debian/rules | ||
Author: Kees Cook <[email protected]> | ||
Reviewed-By: Ruben Molina <[email protected]> | ||
Last-Update: 2013-06-04 | ||
Description: allows CFG_FULL_NAME/CFG_ALT_NAME modification from debian/rules. | ||
Modified by Marcos Fouces to adjust to upstream release 1.9.0. | ||
Author: Kees Cook <[email protected]>, Marcos Fouces <[email protected]> | ||
Last-Update: 2022-08-07 | ||
Forwarded: no | ||
|
||
Index: john-1.8.0/src/params.h | ||
=================================================================== | ||
--- john-1.8.0.orig/src/params.h 2013-05-29 22:32:02.000000000 -0500 | ||
+++ john-1.8.0/src/params.h 2013-06-04 01:20:08.292047105 -0500 | ||
@@ -135,8 +135,12 @@ | ||
--- a/src/params.h | ||
+++ b/src/params.h | ||
@@ -135,11 +135,6 @@ | ||
/* | ||
* File names. | ||
*/ | ||
-#ifdef __DJGPP__ | ||
-#define CFG_FULL_NAME "$JOHN/john.ini" | ||
-#else | ||
-#define CFG_FULL_NAME "$JOHN/john.conf" | ||
-#define CFG_ALT_NAME "$JOHN/john.ini" | ||
+#ifndef CFG_FULL_NAME | ||
+#define CFG_FULL_NAME "$JOHN/john.conf" | ||
+#endif | ||
+#ifndef CFG_ALT_NAME | ||
+#define CFG_ALT_NAME "$JOHN/john.ini" | ||
+#endif | ||
-#endif | ||
#if JOHN_SYSTEMWIDE | ||
#define CFG_PRIVATE_FULL_NAME JOHN_PRIVATE_HOME "/john.conf" | ||
#define CFG_PRIVATE_ALT_NAME JOHN_PRIVATE_HOME "/john.ini" | ||
#ifdef __DJGPP__ | ||
#define CFG_PRIVATE_FULL_NAME JOHN_PRIVATE_HOME "/john.ini" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,9 @@ Reviewed-By: Ruben Molina <[email protected]> | |
Last-Update: 2013-06-04 | ||
Forwarded: no | ||
|
||
Index: john-1.8.0/src/Makefile | ||
=================================================================== | ||
--- john-1.8.0.orig/src/Makefile 2013-06-04 01:19:38.876046194 -0500 | ||
+++ john-1.8.0/src/Makefile 2013-06-04 01:20:00.164046852 -0500 | ||
@@ -308,24 +308,24 @@ | ||
--- a/src/Makefile | ||
+++ b/src/Makefile | ||
@@ -406,24 +406,24 @@ | ||
freebsd-x86-64: | ||
$(LN) x86-64.h arch.h | ||
$(MAKE) $(PROJ) \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
define-cfg-name.diff | ||
allow-cflags-overriding.diff | ||
arm-unroll-loops-ftbfs-476460.diff | ||
kfreebsd-c3_fmt.diff | ||
define-cfg-name.diff | ||
enable-openmp-support.diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
include: | ||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml | ||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml | ||
|
||
variables: | ||
SALSA_CI_BLHC_ARGS: "--ignore-line .*\\.S" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Tests: smoke, crack-crypt-with-wordlist, crack-std-formats-with-stdin | ||
Restrictions: needs-root, allow-stderr | ||
Architecture: amd64 i386 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/bin/sh | ||
|
||
# Exit on the first command fail | ||
set -e | ||
|
||
# Defines expected results | ||
EXPECTED=$(cat <<'EOF' | ||
user_yescrypt:12345 | ||
user_gost-yescrypt:password | ||
EOF | ||
) | ||
|
||
# Defines hashes to crack | ||
HASHES=$(cat <<'EOF' | ||
user_yescrypt:$y$j85$OGMIErbGNrEYiwnutN6HG0$PtiyyQc3fxPh8Ig0/GQhT7idvp9reiBI9x/Q0U6pAB/ | ||
user_gost-yescrypt:$gy$j85$n3MaZu3hmSksDCUuQG3gs/$Hi2WJKbS6cz9cPAg.e9/uFq8Kwv/Vqc5g2SAFwNNWm5 | ||
EOF | ||
) | ||
|
||
# Temporary hash file to use | ||
TMP="tmp_hashes" | ||
echo "$HASHES" > $TMP | ||
|
||
# Default wordlist installed with john | ||
DEFAULT="/usr/share/john/password.lst" | ||
|
||
# Performs hash cracking by reading the default wordlist | ||
john --format=crypt --wordlist=${DEFAULT} ${TMP} | ||
|
||
# Retrieves results | ||
ACTUAL=$(john --show $TMP) | ||
|
||
echo "${EXPECTED}" | | ||
while read line | ||
do | ||
echo "${ACTUAL}" | grep ${line} | ||
done | ||
|
||
# Clean up, even if not needed in testbed | ||
rm ${TMP} | ||
|
||
# Exit success | ||
exit 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#!/bin/sh | ||
|
||
# Exit on the first command fail | ||
set -e | ||
|
||
# Defines expected results | ||
EXPECTED=$(cat <<'EOF' | ||
user_sha-512:Debian | ||
user_sha-256:Debian | ||
user_sunmd5:Debian | ||
user_md5:Debian | ||
user_descrypt:Debian | ||
user_bsdicrypt:Debian | ||
user_nt:Debian | ||
EOF | ||
) | ||
|
||
# Defines hashes to crack | ||
HASHES=$(cat <<'EOF' | ||
user_yescrypt:$y$j85$8Az64q0npQQ3ebW/rMAI/1$58l5q0z1tvYHAwnn7U20eFrZWiCNECPMXROIoqsU1W2 | ||
user_gost-yescrypt:$gy$j85$qWNNmIkIlg.RCQkB7.1t40$LGG/rXpEog2HUbyg.MLtzUOIhbJkfaKsTQK7ekgK2N4 | ||
user_sha-512:$6$JJKKLLMM$q1XDHeP3sK5ZNmJc9PaKdvJMyimnEmDeU6ybTOAMhmrfZejaBAAKJk99v.ztGC3xJ2e3pQn7Ne/ugSHrGeV/U0 | ||
user_sha-256:$5$IIJJKKLL$.aKwC3TsL1ssQqEOFSQ8i3A8JeYfs.ewGBrotVlMrG4 | ||
user_sunmd5:$md5$rounds=2$AABBCCDD$6HXyDGrhiaPHoQAZLmgrF/ | ||
user_md5:$1$EEFFGGHH$FPC7VX4nfLBmkjXlBJHMW1 | ||
user_descrypt:AAPKdMk19oAEA | ||
user_nt:$3$$32cef4869babf377aabbe284f13465ac | ||
user_bsdicrypt:_J9..B74QVPVqrMjJx2M | ||
EOF | ||
) | ||
|
||
# Temporary hash file to use | ||
TMP="tmp_hashes" | ||
echo "$HASHES" > ${TMP} | ||
|
||
# Performs hash cracking by reading the wordlist from stdin | ||
echo "debian Debian" | xargs -n1 | john --stdin ${TMP} | ||
|
||
# Retrieves results | ||
ACTUAL=$(john --show $TMP) | ||
|
||
echo "${EXPECTED}" | | ||
while read line | ||
do | ||
echo "${ACTUAL}" | grep -q ${line} | ||
done | ||
|
||
# Clean up, even if not needed in testbed | ||
rm ${TMP} | ||
|
||
# Exit success | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
# Note: This script requires mkpasswd from package whois | ||
|
||
# Yescrypt | ||
echo "12345" | mkpasswd --method=yescrypt --rounds=2 --stdin | awk '{print "user_yescrypt:"$1}' | ||
|
||
# Gost-yescrypt | ||
echo "password" | mkpasswd --method=gost-yescrypt --rounds=2 --stdin | awk '{print "user_gost-yescrypt:"$1}' | ||
|
||
# SHA-512 | ||
echo "Debian" | mkpasswd --method=sha512crypt --salt=JJKKLLMM --stdin | awk '{print "user_sha-512:"$1}' | ||
|
||
# SHA-256 | ||
echo "Debian" | mkpasswd --method=sha256crypt --salt=IIJJKKLL --stdin | awk '{print "user_sha-256:"$1}' | ||
|
||
# SunMD5 | ||
echo "Debian" | mkpasswd --method=sunmd5 --salt=AABBCCDD --rounds=2 --stdin | awk '{print "user_sunmd5:"$1}' | ||
|
||
# MD5 | ||
echo "Debian" | mkpasswd --method=md5crypt --salt=EEFFGGHH --rounds=2 --stdin | awk '{print "user_md5:"$1}' | ||
|
||
# DESCrypt | ||
echo "Debian" | mkpasswd --method=descrypt --salt=AA --rounds=2 --stdin | awk '{print "user_descrypt:"$1}' | ||
|
||
# NT | ||
echo "Debian" | mkpasswd --method=nt --stdin | awk '{print "user_nt:"$1}' | ||
|
||
# BSDIcrypt | ||
echo "Debian" | mkpasswd --method=bsdicrypt --stdin | awk '{print "user_bsdicrypt:"$1}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
john |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.