1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00
Commit Graph

674 Commits

Author SHA1 Message Date
Rosen Penev
9ac0365259
Run test.sh through shellcheck
It uses a lot of bashisms. Cannot be used with /bin/sh.
2019-08-03 23:43:15 -07:00
Rosen Penev
f3a3d5aed9
bash to sh for two scripts
These don't use any special bash features. They can use regular sh.
2019-08-03 22:58:56 -07:00
Jens Steube
e6d69ebaa6
Merge pull request #2143 from matrix/hash_mode_4711
Added hash-mode 4711, Huawei sha1(md5(pass).salt)
2019-08-03 20:24:18 +02:00
Jens Steube
a03bffe64f
Merge pull request #2128 from matrix/authme_1
Added hash-mode: AuthMe - sha256(sha256(pass).salt)
2019-08-03 20:24:07 +02:00
Gabriele Gristina
06bde16336 Added hash-mode 4711, Huawei sha1(md5(pass).salt) 2019-08-03 19:53:23 +02:00
Gabriele Gristina
358c68abd2 update AuthMe patch (3) 2019-08-03 02:37:43 +02:00
Jens Steube
c845d14601 Make -m 4710 more generic 2019-08-02 10:40:32 +02:00
Gabriele Gristina
66337ee8f5 update AuthMe patch (2) 2019-08-01 15:12:51 +02:00
Jens Steube
9e9adfcd7d
Merge pull request #2125 from matrix/double_sha256_1
Added hash-mode: sha256(sha256_bin(pass))
2019-07-31 15:59:36 +02:00
Gabriele Gristina
cc689caa42 switch hash-mode from 1470 to 21400, cleanup credits/readme/changes txt 2019-07-31 15:39:16 +02:00
Jens Steube
738523d4ff
Merge pull request #2131 from matrix/BitShares_v0
Added hash-mode: BitShares v0.x - sha512(sha512(pass))
2019-07-31 15:38:47 +02:00
Jens Steube
fa5873ae33
Merge pull request #2134 from matrix/hash_mode_4430
Added hash-mode: md5(salt.sha1(salt.pass))
2019-07-31 14:44:33 +02:00
Jens Steube
41dc503506
Merge pull request #2133 from matrix/md5_combo_2
Added hash-mode: md5(sha1(salt).md5(pass))
2019-07-31 13:19:12 +02:00
Jens Steube
0582a58ce2
Merge pull request #2132 from matrix/hash_mode_4720
Added hash-mode: sha1(md5(pass.salt))
2019-07-31 13:15:06 +02:00
Jens Steube
e74fcffcea
Merge pull request #2127 from matrix/md5_combo_1
Added hash-mode: md5(sha1(pass).md5(pass).sha1(pass))
2019-07-31 12:46:22 +02:00
Jens Steube
7dba0f311a
Merge pull request #2110 from matrix/sha256_md5_huawei
Added hash-mode: sha256(md5(pass))
2019-07-30 15:34:22 +02:00
Gabriele Gristina
16b06f51fc switch hash-mode from 4430 to 21300 2019-07-30 15:26:07 +02:00
Gabriele Gristina
16b4f745af switch hash-mode from 4420 to 21200 2019-07-30 15:23:04 +02:00
Gabriele Gristina
8f236f9609 switch hash-mode from 4720 to 21100 2019-07-30 15:19:22 +02:00
Gabriele Gristina
bba2ee65a2 switch hash-mode from 1770 to 21000 2019-07-30 15:15:49 +02:00
Gabriele Gristina
1b5168b95a switch hash-mode from 4410 to 20900 2019-07-30 15:08:55 +02:00
Gabriele Gristina
f2d92d8aec switch hash-mode from 4710 to 20800 2019-07-30 14:44:17 +02:00
Gabriele Gristina
c1d15d613b switch hash-mode from 19400 to 20700 2019-07-29 17:16:53 +02:00
Gabriele Gristina
973a972324 Added optimized kernels, fix test 2019-07-29 00:31:51 +02:00
Gabriele Gristina
d824d1943e Added hash-mode: md5(salt.sha1(salt.pass)) 2019-07-27 17:03:19 +02:00
Gabriele Gristina
370a552459 Added hash-mode: md5(sha1().md5()) 2019-07-27 14:16:30 +02:00
Gabriele Gristina
e766cf0dc7 Added hash-mode: sha1(md5(.)) 2019-07-27 02:03:23 +02:00
Gabriele Gristina
af622f6df5 Added hash-mode: BitShares v0.x - sha512(sha512(pass)) 2019-07-26 23:47:32 +02:00
Gabriele Gristina
bbee1890cd Added hash-mode: sha1(md5(pass).salt) 2019-07-26 01:49:35 +02:00
Gabriele Gristina
eedceb698f Added hash-mode: md5(sha1().md5().sha1()) 2019-07-25 23:56:20 +02:00
Gabriele Gristina
c166242996 Add AuthMe - sha256(sha256().) kernel module 2019-07-23 19:23:06 +02:00
Gabriele Gristina
038bce131f Add Double sha256 kernel module 2019-07-20 21:06:46 +02:00
Gabriele Gristina
10f243aa20 add test module, update credits.txt 2019-07-13 16:36:25 +02:00
Jeremi M Gosney
d772af8fa8 update constraints for m20600 test module 2019-06-19 08:12:25 -05:00
Jeremi M Gosney
871df0b81b add hash mode 20600 (oracle transportation manager) 2019-06-18 11:41:41 -05:00
philsmd
6d09d55991
tests: added special code for -m 20510 to test.sh 2019-06-07 16:22:31 +02:00
Sein Coray
c64a0bf88e
revert some accidentally commited changes and fix os x compatibility issues with sed commands 2019-05-20 21:16:25 +02:00
Jens Steube
c9fba782ed Add minimum password length for -m 20510 2019-05-18 16:29:58 +02:00
Sein Coray
15cbaa0f59
adding pkzip stream cipher kernels 20500 and 20510 2019-05-17 14:11:22 +02:00
Jens Steube
2eebc27ec1
Merge pull request #2008 from vlohacks/master
New modules for Python passlib pbkdf2 sha variants
2019-05-15 09:51:19 +02:00
vlo
14dd1aaaeb Added support for passlib pbkdf2-sha256 and sha1
Added: Module for pbkdf2-sha256
Added: Module for pbkdf2-sha1
Cleanup: Avoid magic values for hash lengths
Cleanup: Coding style
2019-05-08 09:24:12 +02:00
Jens Steube
bbed0cd67a Fix test.sh and bitsliced algos 2019-05-06 15:06:02 +02:00
vlo
003e23bae8 Change hash mode of addition, add test module
Changed pbkdf2-sha512 Perl passlib hash module hashmode to 20200
(assigned by maintainer)

Added test module for 20200 module
2019-05-02 22:36:23 +02:00
jsteube
b9aaaf7809 Move 198xx DiskCryptor to 200xx to not collide with Kerberos 5, etype 17, Pre-Auth 2019-04-20 19:41:37 +02:00
Jens Steube
17ab30b29f
Merge pull request #1991 from brandoncasaba/master
Add hash modes 19800 (krb5pa etype 17) and 19900 (krb5pa etype 18)
2019-04-20 19:10:33 +02:00
jsteube
f424dd1edb Fix tools/install_modules.sh ro uninstall pycryptodome 2019-04-19 13:17:15 +02:00
Brandon Chalk
0a4ce19915 Merge branch 'master' of https://github.com/hashcat/hashcat 2019-04-16 10:03:05 -07:00
Brandon Chalk
5adb941f9a Test module variable scope fix 2019-04-16 09:58:28 -07:00
philsmd
407d331c9d
tests: fix hash generation of -m 8300 = DNSSEC
The salt needs to be passed AS-IS (in hexadecimal) not converted to binary for the perl module Net::DNS::RR::NSEC3::name2hash.

Thank you very much
2019-04-13 19:10:52 +02:00
Brandon Chalk
95c74c52c1 Add hash modes 19800 (krb5pa etype 17) and 19900 (krb5pa etype 18) 2019-04-09 21:58:42 -07:00
philsmd
ab2f81dd38
tests: add all DiskCryptor test modules 2019-04-08 23:24:27 +02:00
jsteube
4cd98603f5 Add DiskCryptor modules for 1024 bit and 1536 and support for Serpent and Twofish. Be careful, untested yet! 2019-04-08 09:31:31 +02:00
Jens Steube
797c7b4be1
Merge pull request #1981 from philsmd/master
added -m 19800 = DiskCryptor AES
2019-04-07 18:15:45 +02:00
philsmd
60c255a69d
added -m 19800 = DiskCryptor AES 2019-04-07 18:08:56 +02:00
philsmd
a8ff1a9e6e
shell script: avoid &> and use > + 2> instead 2019-04-07 17:57:52 +02:00
jsteube
eb39e64e19 Fix -m 16800 unit test 2019-04-03 10:46:50 +02:00
jsteube
2f2bc54fec Bring back manual maintained NEVER_CRACK since OPTS_TYPE_PT_NEVERCRACK was removed from modules 2019-04-01 10:34:59 +02:00
Sein Coray
1143cef606
Merge branch 'master' into master 2019-03-18 09:48:09 +01:00
Fist0urs
2a2d352c39 m19700 test cases: remove debug strings 2019-03-13 22:22:54 +01:00
Fist0urs
afb010870a Add hash modes 19600 (krb5tgs enctype 17) and 19700 (krb5tgs enctype 18) 2019-03-13 17:20:04 +01:00
philsmd
29643b343f
tests: fixed -P command line argument
The -P parameter was not correctly changing the OPTS command line argument to hashcat.
This fix changes the way -O/-P are handled within test.sh, i.e. -O is set if -P was not specified and the OPTS argument list will be drafted accordingly.

Thanks
2019-03-08 16:37:10 +01:00
philsmd
decd8322c8
add env variable IS_OPTIMIZED to test.sh
we now export the  IS_OPTIMIZED option within test.sh to let test.pl know if we want to use pure or optimized kernels.

Thanks
2019-03-08 16:10:01 +01:00
jsteube
0507d709f0 Enable setting test.pl IS_OPTIMIZED via environment variable 2019-03-08 16:05:17 +01:00
philsmd
4b2e3b05f6
tests: -m parameter description fixed
There was a problem within the description of -a and -m. -a currently does not allow a range, but -m does (e.g. -m 0-500).

Thanks
2019-03-08 15:44:49 +01:00
philsmd
d4b33ded27
tests: added some convenient parameters to test.sh 2019-03-08 14:51:26 +01:00
Sein Coray
ee97d18af9
Added hash mode 19500 2019-03-06 21:15:09 +01:00
jsteube
634c88a027 Merge branch 'master' of https://github.com/hashcat/hashcat 2019-03-05 08:19:11 +01:00
jsteube
3b4bd54899 Fix -m 10700 unit test maximum password length in pure kernel mode 2019-03-05 08:18:50 +01:00
jsteube
b290c4c696 Remove --force from test.sh default commandline option 2019-03-05 05:40:24 +01:00
jsteube
420876c85f Fix -m 8100 module_jit_build_options hook 2019-03-02 16:37:01 +01:00
jsteube
4cf1e75871 Add some module specific warnings for ROCM driver in pure kernel mode 2019-03-02 16:31:56 +01:00
jsteube
23917455ef Added hash-mode 19300 sha1(..) 2019-02-28 20:00:52 +01:00
jsteube
87c24200da Added QNX /etc/shadow hash cracking support
- Added hash-mode 19000 QNX /etc/shadow (MD5)
- Added hash-mode 19100 QNX /etc/shadow (SHA256)
- Added hash-mode 19200 QNX /etc/shadow (SHA512)
Implements #35
2019-02-27 17:53:00 +01:00
jsteube
58390e34b7 Set back default testing configuration to optimized mode 2019-02-27 10:23:32 +01:00
jsteube
5da1e4b872 Fixed maximum password length limit which was announced as 256 but actually was 255 2019-02-26 21:20:07 +01:00
philsmd
063e3f1c1c
tests: fix -p and slow_algos/never_crack/hashfile_only 2019-02-26 16:44:11 +01:00
jsteube
2f75a2bcff Fix TC/VC/LUKS detection as SLOW_ALGO in test.sh 2019-02-23 22:56:40 +01:00
jsteube
e0ad0d84e1 Automatically detect HASHFILE_ONLY, NEVER_CRACK and SLOW_ALGOS in test.sh 2019-02-23 19:30:23 +01:00
jsteube
9b916918de Remove some debugging leftovers in unit tests 2019-02-23 17:50:21 +01:00
jsteube
d0d4ce9f8c Added hash-mode 18800 Blockchain, My Wallet, Second Password (SHA256) 2019-02-23 17:45:02 +01:00
jsteube
68d6d36761 Binary Distribution: Removed 32 bit binary executeables 2019-02-22 21:36:02 +01:00
jsteube
1769181d08 Some extra steps for -m 18900 2019-02-22 15:50:03 +01:00
jsteube
29fedf2c41 Added hash-mode 18900 Android Backup 2019-02-22 15:49:47 +01:00
jsteube
b4d52e412b Rename -m 18700 to Java Object hashCode() 2019-02-22 09:30:56 +01:00
jsteube
a925545354 No longer require legacy_test.pl 2019-02-21 16:50:50 +01:00
jsteube
51eb9ebff7 Added hash-mode 18700 DJB 32 2019-02-21 13:52:01 +01:00
jsteube
2d0c57c647 Fix pure kernel maximum password length in -m 9900 test unit 2019-02-20 20:56:25 +01:00
jsteube
ae360d8dca Make sure in test.pl to output always at least 8 passwords 2019-02-20 14:18:15 +01:00
jsteube
2162e411e9 Ensure that len_min cannot be larger than len_max, which can happend if len_max was forced to reduced in some special conditions 2019-02-20 13:45:02 +01:00
jsteube
cec4aeac10 Enforce a certain number of entries in random selected password and salt length selection buffers in test.pl 2019-02-20 13:37:34 +01:00
jsteube
a1b72fc93a Go back to at least one minimum and maximum of password and salt length 2019-02-20 13:03:21 +01:00
jsteube
568336d35f Fix -m 5800 unit test 2019-02-20 12:48:12 +01:00
philsmd
b79384c834
tests: fix HASH_TYPES variable and add containers to package 2019-02-20 11:09:20 +01:00
jsteube
dc94408cdb Fix maximum password length in -m 5800 2019-02-19 17:46:42 +01:00
jsteube
7721645758 Not enforcing minimum and maximum password and salt length saves a lot of headache 2019-02-19 17:37:22 +01:00
jsteube
63fac132e3 Fix cracking streebog 256/512 hmac cracking with password length > 64 2019-02-19 17:17:01 +01:00
jsteube
2f36fb5b44 Remove convert tracker from README.md 2019-02-19 16:30:53 +01:00
jsteube
1d95825e5f Add -m 14600 unit test 2019-02-19 16:29:15 +01:00
Jens Steube
299c8b0f6a
Merge pull request #1922 from 0xbsec/modes_unit_tests_6
Add unit tests for multiple modules
2019-02-19 16:27:11 +01:00
jsteube
aacd2e2e77 Add -m 13600 unit test 2019-02-19 16:20:41 +01:00
jsteube
be4b813a47 Add -m 13500 unit test 2019-02-19 16:13:24 +01:00
jsteube
72a65a4c3e Add -m 13400 unit test 2019-02-19 16:05:42 +01:00
mhasbini
825c977ca4 Add unit tests for multiple modules
13800, 13900, 14400, 14700, 14800, 14900, 15000, 15100 & 15200
2019-02-19 17:02:43 +02:00
jsteube
f36549cf75 Add -m 13300 unit test 2019-02-19 15:50:39 +01:00
jsteube
eccd93a200 Add -m 13200 unit test 2019-02-19 15:31:36 +01:00
jsteube
eb4f5d82d1 Add -m 11900 unit test 2019-02-19 14:58:05 +01:00
jsteube
d81b794aec Support naming VC modes using -m with test.sh 2019-02-19 14:37:48 +01:00
jsteube
0e9f445030 Add -m 15400 unit test 2019-02-19 14:28:26 +01:00
jsteube
b8e5daa582 Add -m 12900 unit test 2019-02-19 13:43:14 +01:00
jsteube
b805c73351 Add -m 12800 unit test 2019-02-19 13:37:06 +01:00
jsteube
f7b95aed8b Add -m 10700 unit test 2019-02-19 13:28:48 +01:00
jsteube
72377c1954 Fix -m 10600 max password length in pure kernel mode 2019-02-19 13:17:40 +01:00
jsteube
b8ea0ad0a1 Add -m 10600 unit test 2019-02-19 13:12:41 +01:00
jsteube
89f2ea1bec Do not use next if we mean return 2019-02-19 12:50:57 +01:00
jsteube
1c7e6d0eaf Add -m 10500 unit test 2019-02-19 12:46:25 +01:00
jsteube
b8134ba920 Add -m 10400 unit test 2019-02-19 12:37:43 +01:00
jsteube
07fa13b695 Add -m 10300 unit test 2019-02-19 12:23:46 +01:00
jsteube
942acb266e Update -m 12000 module and unit test for longer salts 2019-02-19 11:12:28 +01:00
jsteube
7cb5e77f16 Add -m 10200 unit test 2019-02-19 10:53:49 +01:00
jsteube
792aa56893 Add -m 10100 unit test 2019-02-19 10:44:24 +01:00
jsteube
b30495b901 Update constraints for new unit tests 2019-02-19 09:34:58 +01:00
mhasbini
95b8c98980 Add unit tests for multiple modules
11700, 11750, 11760, 11800, 11850, 11860, 12001, 12100, 12200, 12300, 12600 & 12700
2019-02-18 20:53:32 +02:00
jsteube
b0bffaf5eb Add -m 10000 unit test 2019-02-18 15:59:51 +01:00
jsteube
78d8c1583f Add -m 9900 unit test 2019-02-18 15:51:58 +01:00
jsteube
c648bdbc0e Add -m 9800 unit test 2019-02-18 14:24:45 +01:00
jsteube
36550d475a Add -m 9700 unit test 2019-02-18 14:19:36 +01:00
jsteube
7d361c7215 Add -m 9600 unit test 2019-02-18 14:12:28 +01:00
jsteube
1cecf8ff16 Add -m 9500 unit test 2019-02-18 14:03:29 +01:00
jsteube
fe8a0e5bca Add -m 9400 unit test 2019-02-18 12:26:58 +01:00
jsteube
69cee1291a Add -m 9300 unit test 2019-02-18 12:09:40 +01:00
jsteube
1bfbfd7063 Add -m 9200 unit test 2019-02-18 12:05:10 +01:00
jsteube
aa21c10283 Add -m 9100 unit test 2019-02-18 09:48:39 +01:00
jsteube
a560b45705 Remove optimized settings for 10900 and 11300 2019-02-17 22:04:09 +01:00
mhasbini
1049cc8016 Add unit tests for multiple modules:
10900, 11000, 11100, 11200, 11300 & 11400
2019-02-17 22:48:19 +02:00
jsteube
71a071ebdb Add -m 8900 unit test 2019-02-17 16:11:30 +01:00
jsteube
da8cffe12e Add -m 8700 unit test 2019-02-17 16:06:55 +01:00
jsteube
55f1b14f92 Add -m 8600 unit test 2019-02-17 15:54:45 +01:00
jsteube
ac5bcd89fa Add -m 8500 unit test 2019-02-17 15:49:57 +01:00
jsteube
a677920fd8 Add -m 8400 unit test 2019-02-17 15:44:27 +01:00
jsteube
ed3a743453 Add -m 8300 unit test 2019-02-17 15:39:34 +01:00
jsteube
7be1f9cfba Add -m 8200 unit test 2019-02-17 15:24:33 +01:00
jsteube
f2d85e0793 Add -m 8100 unit test 2019-02-17 15:15:55 +01:00
jsteube
afd15a241a Add -m 8000 unit test 2019-02-17 15:10:39 +01:00
jsteube
700d82c868 Add -m 7900 unit test 2019-02-17 15:03:44 +01:00
jsteube
cbe0019461 Add -m 7700, 7701, 7800, 7801 unit tests 2019-02-17 14:55:35 +01:00
jsteube
c4602a2255 Replace -m 1800 und and -m 7400 unit test code with system code 2019-02-17 09:37:50 +01:00
jsteube
5c9544bca5 Make sure the salts are unique in unit tests, otherwise -m 6800 will fail 2019-02-17 09:09:29 +01:00
jsteube
f4e43da456 Fix whirlpool final() handling 2019-02-17 08:57:51 +01:00
jsteube
f2e2967eec Fixed more constraints in unit tests 2019-02-16 16:04:37 +01:00
jsteube
44b15049e7 Mode 2400 and 2410 do not have pure kernel 2019-02-16 14:28:19 +01:00