Skip to content

Commit cb02b5e

Browse files
jfougmagnum
authored and
magnum
committed
1.07
0 parents  commit cb02b5e

File tree

201 files changed

+305439
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+305439
-0
lines changed

BF_tst.in

+1,501
Large diffs are not rendered by default.

BFegg_tst.in

+1,501
Large diffs are not rendered by default.

BFx_tst.in

+1,501
Large diffs are not rendered by default.

BSDI_tst.in

+1,501
Large diffs are not rendered by default.

BigCrypt_tst.in

+751
Large diffs are not rendered by default.

DES_tst.in

+1,501
Large diffs are not rendered by default.

IPB2_tst.in

+1,501
Large diffs are not rendered by default.

LM_tst.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst_cp437.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst_cp737.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst_cp850.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst_cp858.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst_cp866.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

MSCash2_tst_utf8.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst_cp437.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst_cp737.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst_cp850.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst_cp858.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst_cp866.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

MSSql05_tst_utf8.in

+1,501
Large diffs are not rendered by default.

NT_tst.in

+1,501
Large diffs are not rendered by default.

NT_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

NT_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

NT_tst_cp437.in

+1,501
Large diffs are not rendered by default.

NT_tst_cp737.in

+1,501
Large diffs are not rendered by default.

NT_tst_cp850.in

+1,501
Large diffs are not rendered by default.

NT_tst_cp858.in

+1,501
Large diffs are not rendered by default.

NT_tst_cp866.in

+1,501
Large diffs are not rendered by default.

NT_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

NT_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

NT_tst_utf8.in

+1,501
Large diffs are not rendered by default.

XSHA_tst.in

+1,501
Large diffs are not rendered by default.

hdaa_tst.in

+1,501
Large diffs are not rendered by default.

hmacMD5_tst.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst_cp437.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst_cp737.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst_cp850.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst_cp858.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst_cp866.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

l0phtcrack_tst_utf8.in

+1,501
Large diffs are not rendered by default.

lotus5_tst.in

+1,500
Large diffs are not rendered by default.

md4p_tst.in

+1,501
Large diffs are not rendered by default.

md4s_tst.in

+1,501
Large diffs are not rendered by default.

md5_1_tst.in

+1,501
Large diffs are not rendered by default.

md5_apr1_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_0_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_10_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_11_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_12_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_13_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_14_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_15_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_16_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_17_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_18_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_19_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_1_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_20_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_21_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_22_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_23_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_24_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_25_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_26_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_27_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_28_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_2_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_3_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_4_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_5_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_6_1salt_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_6_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_7_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_8_tst.in

+1,501
Large diffs are not rendered by default.

md5_gen_9_tst.in

+1,501
Large diffs are not rendered by default.

mediawiki_tst.in

+1,501
Large diffs are not rendered by default.

mscash_crash_tst.in

+1,501
Large diffs are not rendered by default.

mscash_tst.in

+1,501
Large diffs are not rendered by default.

mscash_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

mscash_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

mscash_tst_cp437.in

+1,501
Large diffs are not rendered by default.

mscash_tst_cp737.in

+1,501
Large diffs are not rendered by default.

mscash_tst_cp850.in

+1,501
Large diffs are not rendered by default.

mscash_tst_cp858.in

+1,501
Large diffs are not rendered by default.

mscash_tst_cp866.in

+1,501
Large diffs are not rendered by default.

mscash_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

mscash_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

mscash_tst_utf8.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst_cp437.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst_cp737.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst_cp850.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst_cp858.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst_cp866.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

mschapv2_tst_utf8.in

+1,501
Large diffs are not rendered by default.

mskrb5_tst.in

+1,501
Large diffs are not rendered by default.

mssql_tst.in

+1,501
Large diffs are not rendered by default.

mssql_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

mssql_tst_cp1251_gen.in

+1,501
Large diffs are not rendered by default.

mssql_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

mssql_tst_cp437.in

+1,501
Large diffs are not rendered by default.

mssql_tst_cp737.in

+1,501
Large diffs are not rendered by default.

mssql_tst_cp850.in

+1,501
Large diffs are not rendered by default.

mssql_tst_cp858.in

+1,501
Large diffs are not rendered by default.

mssql_tst_cp866.in

+1,501
Large diffs are not rendered by default.

mssql_tst_cp866_gen.in

+1,501
Large diffs are not rendered by default.

mssql_tst_iso8859-1.in

+1,501
Large diffs are not rendered by default.

mssql_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

mssql_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

mssql_tst_koi8r_gen.in

+1,501
Large diffs are not rendered by default.

mysqlSHA1_tst.in

+1,501
Large diffs are not rendered by default.

mysql_tst.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst_cp437.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst_cp737.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst_cp850.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst_cp858.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst_cp866.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

netlmv2_tst_utf8.in

+1,501
Large diffs are not rendered by default.

netntlm_tst.in

+1,501
Large diffs are not rendered by default.

netntlm_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

netntlm_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

netntlm_tst_cp437.in

+1,501
Large diffs are not rendered by default.

netntlm_tst_cp737.in

+1,501
Large diffs are not rendered by default.

netntlm_tst_cp850.in

+1,501
Large diffs are not rendered by default.

netntlm_tst_cp858.in

+1,501
Large diffs are not rendered by default.

netntlm_tst_cp866.in

+1,501
Large diffs are not rendered by default.

netntlm_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

netntlm_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

netntlm_tst_utf8.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst_cp437.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst_cp737.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst_cp850.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst_cp858.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst_cp866.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

netntlmv2_tst_utf8.in

+1,501
Large diffs are not rendered by default.

ns_tst.in

+1,501
Large diffs are not rendered by default.

nsldap_tst.in

+1,501
Large diffs are not rendered by default.

nsldaps_tst.in

+1,501
Large diffs are not rendered by default.

openssha_tst.in

+1,501
Large diffs are not rendered by default.

oracle11_tst.in

+1,501
Large diffs are not rendered by default.

oracle_tst.in

+1,501
Large diffs are not rendered by default.

oracle_tst_cp1251.in

+1,501
Large diffs are not rendered by default.

oracle_tst_cp1252.in

+1,501
Large diffs are not rendered by default.

oracle_tst_cp437.in

+1,501
Large diffs are not rendered by default.

oracle_tst_cp737.in

+1,501
Large diffs are not rendered by default.

oracle_tst_cp850.in

+1,501
Large diffs are not rendered by default.

oracle_tst_cp858.in

+1,501
Large diffs are not rendered by default.

oracle_tst_cp866.in

+1,501
Large diffs are not rendered by default.

oracle_tst_iso8859-15.in

+1,501
Large diffs are not rendered by default.

oracle_tst_koi8r.in

+1,501
Large diffs are not rendered by default.

oracle_tst_utf8.in

+1,501
Large diffs are not rendered by default.

phpass_tst.in

+1,501
Large diffs are not rendered by default.

phps_tst.in

+1,501
Large diffs are not rendered by default.

pixMD5_tst.in

+1,501
Large diffs are not rendered by default.

po_tst.in

+1,501
Large diffs are not rendered by default.

pw-cp1251.dic

+2,018
Large diffs are not rendered by default.

pw-cp866.dic

+2,018
Large diffs are not rendered by default.

pw-gen-enc.dic

+3,177
Large diffs are not rendered by default.

pw-koi8r.dic

+2,018
Large diffs are not rendered by default.

pw-utf8.dic

+2,262
Large diffs are not rendered by default.

pw.dic

+5,819
Large diffs are not rendered by default.

pwdump_tst.in

+1,501
Large diffs are not rendered by default.

rawmd4_tst.in

+1,501
Large diffs are not rendered by default.

rawmd5_tst.in

+1,501
Large diffs are not rendered by default.

rawmd5u_tst.in

+1,501
Large diffs are not rendered by default.

rawmd5u_tst_utf8.in

+1,501
Large diffs are not rendered by default.

rawsha1_tst.in

+1,501
Large diffs are not rendered by default.

sha1p_tst.in

+1,501
Large diffs are not rendered by default.

sha1s_tst.in

+1,501
Large diffs are not rendered by default.

tstall

+529
Large diffs are not rendered by default.

tstone

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
#!/bin/sh
2+
3+
#-------------------------------------------------------------------
4+
# John, testing suite, v1.07 (early release). Jim Fougeron.
5+
#
6+
# No copyright is claimed, and the software is hereby
7+
# placed in the public domain. In case this attempt to disclaim
8+
# copyright and place the software in the public domain is deemed
9+
# null and void, then the software is Copyright © 2009 Jim Fougeron
10+
# and it is hereby released to the general public under the following
11+
# terms:
12+
#
13+
# This software may be modified, redistributed, and used for any
14+
# purpose, in source and binary forms, with or without modification.
15+
#--------------------------------------------------------------------
16+
17+
if [ x"$JOHN_PATH" = x ]; then
18+
JOHN_PATH="../run"
19+
JOHN_EXE="$JOHN_PATH/john"
20+
UNIQUE="$JOHN_PATH/unique"
21+
export JOHN_PATH
22+
export JOHN_EXE
23+
fi
24+
25+
rm -f tst.rec
26+
rm -f tst.pot
27+
rm -f tst.log
28+
29+
echo $3 | awk '{printf("%-32.32s", $1);}'
30+
31+
if [ ! -s $1.dic ]; then
32+
echo "File [$1.dic] is missing or empty."
33+
exit 1
34+
fi
35+
36+
if [ ! -s $2 ]; then
37+
echo "File [$2] is missing or empty."
38+
exit 1
39+
fi
40+
41+
EXPARM=
42+
if [ "$5" != "$EXPARM" ]; then
43+
EXPARM="$4=$5 $6 $7 $8"
44+
fi
45+
46+
#echo dict=$1.dic file=$2
47+
JOHN_OUT=`$JOHN_EXE -nolog -config=$JOHN_PATH/john.conf -pot=./tst.pot -sess=./tst -w=./$1.dic $EXPARM $2 2>&1 >/dev/null | awk '{printf("%s %s %s %s %s\n",$1,$2,$3,$4,$5);}' | grep guesses`
48+
# $JOHN_EXE -nolog -config=$JOHN_PATH/john.conf -pot=./tst.pot -sess=./tst -w=./$1.dic $EXPARM $2
49+
50+
if [ "$JOHN_OUT" != "" ]; then
51+
echo $JOHN_OUT
52+
echo $3 | cut -b 7-30 | awk '{printf(".pot CHK: %-21.21s", $1);}'
53+
CTR=`echo e | tr e '\037'`
54+
case "$EXPARM" in
55+
*-fie='\x1F'*) cut -f 2-8 -d "$CTR" < tst.pot > pw2 ;;
56+
*) cut -f 2-8 -d ":" < tst.pot > pw2 ;;
57+
esac
58+
rm -f pw3
59+
$UNIQUE -inp=pw2 pw3 > /dev/null
60+
rm -f pw2
61+
mv tst.pot tst2.pot
62+
JOHN_OUT=`$JOHN_EXE -nolog -config=$JOHN_PATH/john.conf -pot=./tst.pot -sess=./tst -w=./pw3 $EXPARM $2 2>&1 >/dev/null | awk '{printf("%s %s %s %s %s\n",$1,$2,$3,$4,$5);}' | grep guesses`
63+
rm -f pw3
64+
rm -f tst2.pot
65+
echo $JOHN_OUT
66+
echo
67+
else
68+
echo "This hash not able to run on this build of john. Input file is [$2]"
69+
#exit 2
70+
fi
71+
JOHN_OUT=
72+
EXPARM=
73+
74+
rm -f tst.rec
75+
rm -f tst.pot
76+
rm -f tst.log

tstonebase

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
#!/bin/sh
2+
3+
#-------------------------------------------------------------------
4+
# John, testing suite, v1.07 (early release). Jim Fougeron.
5+
#
6+
# No copyright is claimed, and the software is hereby
7+
# placed in the public domain. In case this attempt to disclaim
8+
# copyright and place the software in the public domain is deemed
9+
# null and void, then the software is Copyright © 2009 Jim Fougeron
10+
# and it is hereby released to the general public under the following
11+
# terms:
12+
#
13+
# This software may be modified, redistributed, and used for any
14+
# purpose, in source and binary forms, with or without modification.
15+
#--------------------------------------------------------------------
16+
17+
if [ x"$JOHN_PATH" = x ]; then
18+
JOHN_PATH="../run"
19+
JOHN_EXE="$JOHN_PATH/john"
20+
UNIQUE="$JOHN_PATH/unique"
21+
export JOHN_PATH
22+
export JOHN_EXE
23+
fi
24+
25+
rm -f tst.rec
26+
rm -f tst.pot
27+
rm -f tst.log
28+
29+
# since the -pot= command does not work for 'base' john we have to remove
30+
# it from the ../run directory. However, we do not want to remove a 'valid'
31+
# john.pot file. So for now, we rename it, run the script, delete the pot
32+
# file, then rename the orignal john.pot file back to what it was.
33+
rm -f $JOHN_PATH/tstxxx
34+
mv $JOHN_PATH/john.pot $JOHN_PATH/tstxxx 2> /dev/null
35+
36+
echo $3 | awk '{printf("%-32.32s", $1);}'
37+
38+
if [ ! -s $1.dic ]; then
39+
echo "File [$1.dic] is missing or empty."
40+
exit 1
41+
fi
42+
43+
if [ ! -s $2 ]; then
44+
echo "File [$2] is missing or empty."
45+
exit 1
46+
fi
47+
48+
EXPARM=
49+
if [ "$5" != "$EXPARM" ]; then
50+
EXPARM="$4=$5 $6 $7"
51+
fi
52+
JOHN_OUT=`$JOHN_EXE -sess=./tst -w=./$1.dic $EXPARM $2 2>&1 >/dev/null | awk '{printf("%s %s %s %s %s\n",$1,$2,$3,$4,$5);}' | grep guesses`
53+
if [ "$JOHN_OUT" != "" ]; then
54+
echo $JOHN_OUT
55+
echo $3 | cut -b 7-30 | awk '{printf(".pot CHK: %-21.21s", $1);}'
56+
cut -f 2-8 -d ":" < $JOHN_PATH/john.pot > pw2
57+
rm -f pw3
58+
$UNIQUE -inp=pw2 pw3 > /dev/null
59+
rm -f pw2
60+
mv $JOHN_PATH/john.pot tst2.pot
61+
JOHN_OUT=`$JOHN_EXE -sess=./tst -w=./pw3 $EXPARM $2 2>&1 >/dev/null | awk '{printf("%s %s %s %s %s\n",$1,$2,$3,$4,$5);}' | grep guesses`
62+
rm -f pw3
63+
rm -f tst2.pot
64+
echo $JOHN_OUT
65+
echo
66+
else
67+
echo "This hash not able to run on this build of john. Input file is [$2]"
68+
#exit 2
69+
fi
70+
JOHN_OUT=
71+
EXPARM=
72+
73+
rm -f tst.rec
74+
rm -f tst.pot
75+
rm -f john.pot
76+
rm -f john.log
77+
rm -f tst.log
78+
# restore any original john.pot that existed in the run directory
79+
rm -f $JOHN_PATH/john.pot
80+
mv .$JOHN_PATH/tstxxx $JOHN_PATH/john.pot 2> /dev/null
81+

0 commit comments

Comments
 (0)