Commit Graph

644 Commits (13e2dec01783f6b98850f395a40a6356923c09f1)

Author SHA1 Message Date
jsteube 1bfbfd7063 Add -m 9200 unit test
5 years ago
jsteube aa21c10283 Add -m 9100 unit test
5 years ago
jsteube a560b45705 Remove optimized settings for 10900 and 11300
5 years ago
mhasbini 1049cc8016 Add unit tests for multiple modules:
5 years ago
jsteube 71a071ebdb Add -m 8900 unit test
5 years ago
jsteube da8cffe12e Add -m 8700 unit test
5 years ago
jsteube 55f1b14f92 Add -m 8600 unit test
5 years ago
jsteube ac5bcd89fa Add -m 8500 unit test
5 years ago
jsteube a677920fd8 Add -m 8400 unit test
5 years ago
jsteube ed3a743453 Add -m 8300 unit test
5 years ago
jsteube 7be1f9cfba Add -m 8200 unit test
5 years ago
jsteube f2d85e0793 Add -m 8100 unit test
5 years ago
jsteube afd15a241a Add -m 8000 unit test
5 years ago
jsteube 700d82c868 Add -m 7900 unit test
5 years ago
jsteube cbe0019461 Add -m 7700, 7701, 7800, 7801 unit tests
5 years ago
jsteube c4602a2255 Replace -m 1800 und and -m 7400 unit test code with system code
5 years ago
jsteube 5c9544bca5 Make sure the salts are unique in unit tests, otherwise -m 6800 will fail
5 years ago
jsteube f4e43da456 Fix whirlpool final() handling
5 years ago
jsteube f2e2967eec Fixed more constraints in unit tests
5 years ago
jsteube 44b15049e7 Mode 2400 and 2410 do not have pure kernel
5 years ago
jsteube 687fe5403c Blake2b has no pure kernel mode
5 years ago
jsteube ba803a79ae Fix several constraints of raw modes
5 years ago
jsteube 9a4426169c Improve test.pl password selection
5 years ago
jsteube 6c215ad015 Fix minimum password length in -m 16000 unit test
5 years ago
jsteube db18966093 Update max combinator length in unit test -m 3800
5 years ago
jsteube 76bd9d105f Add -m 7400 unit test
5 years ago
jsteube 179194a576 Add -m 7300 unit test
5 years ago
jsteube 6a387bf704 Add -m 7200 unit test
5 years ago
Jens Steube 0a77d089b3
Merge pull request #1918 from 0xbsec/modes_unit_tests_3
5 years ago
mhasbini e085177e58 Add unit tests for multiple modules:
5 years ago
jsteube e0cc7eac67 Add -m 7000 unit test
5 years ago
jsteube 0cb3d83b5e Add -m 6800 unit test
5 years ago
jsteube 2bed7f0ff6 Add -m 6700 unit test
5 years ago
jsteube f4eb95f8ee Merge branch 'hash-mode-plugin' of https://github.com/hashcat/hashcat into hash-mode-plugin
5 years ago
jsteube 4f947bd40a Add -m 6600 unit test
5 years ago
Jens Steube 65a143140a
Merge pull request #1917 from philsmd/hash-mode-plugin-test-m-fix
5 years ago
philsmd 071f6de9cb
tests: fixed problem with -m 0 or -m 0-10 with new hash type range code
5 years ago
philsmd 3f66838187
tests: fixed a new macOS compatiblity issue (sort/sed)
5 years ago
philsmd cd98523b9c
tests: added hash mode range for -m option (-m x-y)
5 years ago
jsteube 6e8c4f5577 Fix minimum salt length in -m 18100 unit test
5 years ago
jsteube 20b8139808 Mode 6900 does not support empty passwords
5 years ago
jsteube 38761eb873 Add -m 6900 unit test
5 years ago
jsteube 4768b848b4 Add -m 18300 unit test
5 years ago
jsteube d98e989a40 Add -m 16900 unit test
5 years ago
jsteube 0d7d1219f5 Add -m 4800 unit test
5 years ago
jsteube c52854ebb7 Add -m 1731 unit test
5 years ago
jsteube 9310b534f4 A few fixes on unit tests
5 years ago
mhasbini 7148aa6706 Add unit tests for several modes:
5 years ago
mhasbini 592303b075 Add unit tests for modes: 3710, 3711, 4521 & 4522
5 years ago
mhasbini e71fba037f Add unit tests for several modes:
5 years ago
jsteube e571b890e9 Fixed length check for raw PBKDF2 modules
5 years ago
jsteube af634750f2 Fix Joomla salt length
5 years ago
mhasbini dec7e25a63 Add -m 1722 unit test
5 years ago
mhasbini 7c67346bfc Add unit tests for -m 1421 -m 1441 -m 1450 -m 1460 -m 1711
5 years ago
mhasbini c3f7c30eea Remove debug lines from -m 1411 unit test
5 years ago
jsteube b9365b8961 Disable combinator constraint in -m 1100
5 years ago
mhasbini dabbc521cb Update -m 1100 unit test constraints
5 years ago
mhasbini 99c14b4d5f Add -m 1411 unit test
5 years ago
mhasbini 54cfc60c57 Add -m 1100 unit test
5 years ago
mhasbini 3df9a862f3 Add -m 124 unit test
5 years ago
mhasbini 76ec0268a7 Add unit test for -m 1410 -m 1420 -m ...
5 years ago
mhasbini be4ab7320b Add -m 2600 unit test
5 years ago
mhasbini 438b74da56 Add -m 4010 & -m 4110 unit tests
5 years ago
mhasbini 08118bedcc Add unit test for -m 3800 and -m 3910
5 years ago
jsteube c9e796fcf0 Add some more modules converted
5 years ago
jsteube f53b846cb7 Add some VeraCrypt boot-mode test header
5 years ago
mhasbini bd39edc8a2 Add unit test for -m 18100
5 years ago
mhasbini f142651f15 Fix salt encoding
5 years ago
mhasbini 86d7f0a95b Add -m 11500 module & unit test
5 years ago
jsteube fa5d122fa0 Add unit test for -m 5500
5 years ago
jsteube e1e1ac5341 Add module and unit test for -m 13000
5 years ago
jsteube b729fe04b7 Add module and unit test for -m 11600
5 years ago
Jens Steube 280cc63369
Merge branch 'hash-mode-plugin' into m17600_m18000_modes
5 years ago
mhasbini c2fdf6172d Add module and unit test for -m 18000
5 years ago
mhasbini 48b710e73e Add module and unit test for -m 17900
5 years ago
jsteube 83229acd6b Add module and unit test for hash-mode 7100
5 years ago
jsteube c67287e754 Add module and unit test for hash-mode 15000
5 years ago
jsteube fc90bfc00c Add module and unit test for hash-mode 15300
5 years ago
jsteube 67627607be Add module and unit test for hash-mode 18200
5 years ago
jsteube 81c3edede3 Add module and unit test for hash-mode 13100
5 years ago
Jens Steube 17fdf8754d
Merge pull request #1885 from 0xbsec/m17400_m17800_modes
5 years ago
mhasbini 2f89c47ee1 Add module and unit test for -m 17800
5 years ago
jsteube 4951816a30 Add module and unit test for hash-mode 7500
5 years ago
jsteube fcebe9fadb Add module and unit test for hash-mode 1800
5 years ago
jsteube 748a1aac22 Add module and unit test for hash-mode 12000
5 years ago
mhasbini 5497154a89 Add module and unit test for hash-mode 17700
5 years ago
jsteube 8ad3333d2a Add module and unit test for hash-mode 3200
5 years ago
jsteube de690abfa6 Add unit test modules 1600, 6300
5 years ago
mhasbini 3de0b294a0 Add 17300, 17400, 17500 & 17600 module unit tests
5 years ago
jsteube 0bec0cfb89 Add -m 3000 module and unit test
5 years ago
jsteube f859fbea66 Add -m 16800 module and unit test
5 years ago
jsteube 355ae342f7 Add -m 2501 module
5 years ago
jsteube 06a5e736b9 Add -m 500 unit test
5 years ago
jsteube 6a39617949 Add -m 600 unit test
5 years ago
jsteube 4550f2f771 Add -m 500 unit test
5 years ago
jsteube 73966d29e7 Add -m 400 unit test
5 years ago
jsteube da413b4eaa Add -m 5100 module
5 years ago
jsteube 02bdf8dda3 Add unit test modules for -m 14000 and -m 14100
5 years ago
jsteube 2c47c03e26 the idea of having guaranteed mixed password and salt lengths is not working.
5 years ago
jsteube 036e4eba2c Use -rdynamic instead of including sources of depencies for module compilation
5 years ago
Jens Steube e0a630d5a5
Merge pull request #1864 from matrix/hash-mode-plugin-2400
5 years ago
jsteube 2e61d9d0b8 Authenticated hashes (HMAC) use separate buffers for password and salt, therefore no combination constraints required
5 years ago
Jens Steube e08cca8eee
Merge pull request #1863 from s3inlc/test-plugin-150_160
5 years ago
Jens Steube d2dfc75d11
Merge pull request #1862 from matrix/hash-mode-plugin-md4
5 years ago
Jens Steube 1f398f7626
Merge pull request #1861 from s3inlc/test-plugin-133_140_141
5 years ago
Jens Steube 0f4eac3339
Merge pull request #1859 from s3inlc/test-plugin-130_131_132
5 years ago
Sein Coray 2638052daa
Fixed spacing
5 years ago
Sein Coray a1fa4aa12f
Fixed spacing
5 years ago
jsteube 31822a9bea Fix spacing
5 years ago
Jens Steube ebd4fcbbc2
Merge pull request #1856 from s3inlc/test-plugin-121_122_125
5 years ago
Jens Steube 0394df1faf
Merge pull request #1855 from matrix/hash-mode-plugin-sha384
5 years ago
Gabriele Gristina 6fb999a505 Add Cisco-PIX MD5 module
5 years ago
Sein Coray f16f04ac17
Added test modules for mode 150 and 160
5 years ago
Gabriele Gristina 6fc74a2bdb Add MD4 module
5 years ago
Sein Coray 4d1c53b3e5
Added test modules for mode 133, 140 and 141
5 years ago
Sein Coray e12ce123c9
Added test modules for mode 130, 131 and 132
5 years ago
Sein Coray 3b629e9c12
Added test modules for mode 121, 122 and 125
5 years ago
Gabriele Gristina 2068f88371 Add SHA384 module
5 years ago
Gabriele Gristina aa15ae9fb5 Add SHA224 module
5 years ago
Gabriele Gristina 9f6a27e8b6 Add SHA256 module
5 years ago
jsteube 105c0ce0cb Add unit test for SHA512
5 years ago
Jens Steube fb938970d8
Merge pull request #1844 from s3inlc/test-plugin-101_111_112
5 years ago
Sein Coray 7b033a58ae
Fixed test module constraints
5 years ago
Sein Coray c959d1bb34
Added test modules for mode 101, 111 and 112
5 years ago
jsteube 958d89872a Remove old code
5 years ago
jsteube 55ff8fe729 Guarantee to have used the minimum and maximum length of both password and salt to be used at least once
5 years ago
jsteube 620bd693c5 Guarantee output of 8 entries in single mode in test.pl
5 years ago
jsteube 0baf8fc2f9 Fix constraints in -m 30 and -m 40 and return array in -m 40
5 years ago
jsteube 9ee247c6f8 Fix password length for optimized mode in constraints for hash-mode 22: 55 - (1 + 20 + 1)
5 years ago
Jens Steube 3516fd70a4
Merge pull request #1843 from s3inlc/test-plugin-22_30_40
5 years ago
Sein Coray a4b7a052b8
Added test modules for mode 22, 30 and 40
5 years ago
Sein Coray 50cac0a43b
Changed regex to read hash modes from test modules
5 years ago
jsteube 8613e2fc81 test.sh fix packaged hash types
5 years ago
jsteube 3b43bd6d03 Automatically fill HASH_TYPES in test.sh
5 years ago
jsteube ac0560fd4a Make use of module_constraints more easy and fix some modes
5 years ago
jsteube eeff037365 Fix test.sh in non-optimized mode
5 years ago
jsteube f721f23d39 Update test modules to max password length 255 not 256
5 years ago
jsteube 92828910fe Added test_module for -m 300
5 years ago
jsteube 14cda9b33c Added test_module for -m 200
5 years ago
jsteube 9b572d3faa Add remaining updates for test.sh
5 years ago
jsteube 925c089035 test.sh -a 6 fixes
5 years ago
jsteube 813977e419 test.sh first changes
5 years ago
jsteube bcbaef3853 Fix maximum password and salt length in -m 23
5 years ago
jsteube e137794555 Fix random_number() and -m 12 contraints
5 years ago
jsteube e8029cdc5c Generate more reasonable pw and salt length in test.pl mode single
5 years ago
jsteube 062e539b02 Workaround old salt length problem
5 years ago
jsteube 22da2407e9 Make sure word length in test.pl single mode only increases or stays equal to previous one
5 years ago
jsteube 10a7c5df3d Improve test.pl functionality a bit
5 years ago
jsteube fcaa7d5336 Fix test_modules
5 years ago
jsteube 2afb4e0f36 Fix test.pl single mode if password is '0'
5 years ago
jsteube 7538e82b72 Bring back comparison of hashlist in crackfile
5 years ago
jsteube 97fc147aec Do not try passwords > length 31 in optimized mode, because this works only in -a 3 mode
6 years ago
Jens Steube 5717fcd1a6 Update test_modules and test.pl to respect valid password and salt length ranges per hash mode
6 years ago
Jens Steube b20591fb89
Merge pull request #1840 from s3inlc/test-plugin-50_60
6 years ago
Jens Steube ec96c5128f
Merge pull request #1839 from s3inlc/test-plugin-20_21_23
6 years ago
Sein Coray c15b095088
Added test modules for mode 50 and 60
6 years ago
Sein Coray b3c29c9412
Added test modules for mode 20, 21 and 23
6 years ago
Jens Steube 1091feb85d
Merge pull request #1838 from s3inlc/test-plugin-10_12
6 years ago
Sein Coray f476ccc548
added new test module for mode 10 and 12
6 years ago
Jens Steube 146acbd79f
Merge pull request #1837 from s3inlc/test-plugin-18500
6 years ago
jsteube 8bb28837ef Limit single mode to 31 in general as in old test.pl
6 years ago
Sein Coray b09ccbfbb0
Added new test module for mode 18500
6 years ago
R. Yushaev 6365672c34 Add module_preprocess_hashlist hook for tests
6 years ago
jsteube 7396ce3273 Remove copy/paste left over
6 years ago
jsteube 864bd3451e Add test module for -m 1500
6 years ago
R. Yushaev 9f1749dce3 Add test modules and helper functions
6 years ago
jsteube ae53dd3b85 Update other modules just for consistency
6 years ago
jsteube 73af860f43 Add functionality in test.pl to allow empty hash returns. This is required to enable hash-mode depending password length checks. NTLM supports just 27 characters in optimized mode, but single mode would produce 32, resulting in a non found password
6 years ago
jsteube c5fb8ab2e8 Fix use of test.pl from test.sh
6 years ago
jsteube c0e83dc471 Some minor test.pl fixes, added m01000.pm
6 years ago
R. Yushaev 444d11a74b Add test modules
6 years ago
R. Yushaev a92ab33ad5 Add modularized test.pl
6 years ago
R. Yushaev d0478e4481 Rename test.pl to legacy_test.pl
6 years ago
R. Yushaev b5a7e967c1 Add support for Open Document Format 1.1
6 years ago
R. Yushaev 875d6eb516 Fix selftest for hash-mode 18400
6 years ago
Jens Steube 478fd2c8cf
Merge pull request #1815 from s3inlc/test-compatibility
6 years ago
Sein Coray 997a6cce87
Changed cat -A to cat -vet in test.sh
6 years ago
Sein Coray a70a0513bf
Added hash mode 18500 sha1(md5(md5($pass)))
6 years ago
R. Yushaev 6a5b0c821e Add support for Open Document Format 1.2
6 years ago
Jens Steube 72319875d8 Update version to 5.1.0
6 years ago
R. Yushaev baf47d409e Add Camellia support for VeraCrypt kernels
6 years ago
Jens Steube 8fb93a7685 Add new layouts folder to binary package script
6 years ago
R. Yushaev 8b04be0e93 Add Kuznyechik support for VeraCrypt kernels
6 years ago
Jens Steube 1a8c712452 Fix typo in test.pl
6 years ago
Jens Steube 2635331de3 Unify some global handling in test.pl
6 years ago
jsteube 63aae4d670 Fix missing perl modules in install_modules.sh
6 years ago
jsteube b1d3e2d403 Add some missing perl modules to install_modules.sh
6 years ago
R. Yushaev 0134f5f018 Clean up test suite scripts
6 years ago
Jens Steube a4200ba167 Added hash-mode 18300 (Apple File System)
6 years ago
RAN1 4e558e0fd8 Update code generator function names
6 years ago
Jens Steube 2aff01b20e Hardware Monitor: Renamed --gpu-temp-abort to --hwmon-temp-abort
6 years ago
R. Yushaev 34aa899a05 Add RIPEMD-160 test containers for VeraCrypt modes
6 years ago
R. Yushaev 5eaee33094 Add test containers for VeraCrypt modes
6 years ago
R. Yushaev 47bd838e25 Add VeraCrypt Streebog support
6 years ago
Royce Williams 6053f473eb trailing whitespace
6 years ago
R. Yushaev a8eb611b1c Add HMAC-Streebog-512 (pure kernels)
6 years ago
Arseniy Sharoglazov ee873da300 Added hash-modes 18200 (Kerberos 5 AS-REP etype 23)
6 years ago
R. Yushaev 224315dd62 Add pure kernels and tests for Streebog hashes
6 years ago
Jens Steube dc39deba0f Update version to 5.0.0
6 years ago
unix-ninja 3705ebfbf6 Remove extra whitespace in test.pl
6 years ago
unix-ninja 4cb93ba9bf Add 18100 to test.sh
6 years ago
unix-ninja db4ec8ed2c Fix formatting to comply with hashcat coding guidelines
6 years ago
unix-ninja 3c3b05d1e5 Resolve conflicts
6 years ago
unix-ninja 6cda8f7077 Change TOTP index from 17300 to 18100
6 years ago
unix-ninja 1ecc5e5559 Add TOTP to test.pl
6 years ago
R. Yushaev 5c87720acc Add SHA3 and Keccak
6 years ago
jsteube 4963357fac Update to v4.2.1
6 years ago
philsmd 883336089e test: fixed verify code for -m 16600 = Electrum Wallet
6 years ago
Michael Sprecher 3a321c8dce
Added hash-mode 16900 = Ansible Vault
6 years ago
jsteube 88ebca40b8 Added hash-mode 16800 = WPA-PMKID-PBKDF2
6 years ago
jsteube 81f909e229 Prepare for v4.2.0 release
6 years ago
jsteube c28fdf7f44 Added hash-mode 16700 = FileVault 2
6 years ago
jsteube 215063d0fc Fix some formating for -m 7701 and -m 7801 in test.pl
6 years ago
Mathieu Geli 48283cf473 Add tests for 7701/7801
6 years ago
jsteube 83f07febfc Initial v4.1.1 deverloper mode commit
6 years ago
jsteube c99de3c22a Fix missing function export in test.pl
6 years ago
jsteube 09261dad0e Prepare for v4.1.0 release
6 years ago
jsteube e877c30ebc OpenCL Kernels: Remove password length restriction to 16 for Cisco-PIX and Cisco-ASA hashes
6 years ago
Jens Steube e1eab586fd Add some note for test.pl
6 years ago
Jens Steube 3b4c418b47 Prepare for -m 16600
6 years ago
jsteube ce0cee0ac4 Stick to original JWT format from jwt.io
6 years ago
jsteube 0796c074c3 Added -m 16500 Kernels
6 years ago
jsteube 5eeefb5506 More prepare for JWT
6 years ago
jsteube 6c86243b9b Prepare for JWT
6 years ago
Arseniy Sharoglazov f84b2c52f8 Tests: added support for -m 16400 = CRAM-MD5 Dovecot
6 years ago
philsmd bf656774bb
fixes #1279: added -m 16300 = Ethereum Pre-Sale Wallet, PBKDF2-HMAC-SHA256
7 years ago
jsteube f21137a129 Switch from \r\n to \n line terminators in tools/securenotes2hashcat.pl
7 years ago
Jens Steube a71288da74 Fix rename $SN$ signature to $ASN$ for apple secure notes
7 years ago
jsteube d9c5c42966 Rename $SN$ signature to $ASN$ for apple secure notes
7 years ago
jsteube dc58253703 Fix salt length for mode 16200 in test.pl
7 years ago
jsteube 94c668ce8a Prepare hash-mode 16200 (Apple Secure Notes)
7 years ago
jsteube 6671005fa2 Simplify code to verify cracked hash in test.pl for hash-mode 16100
7 years ago
jsteube c9d352743c Unit tests for mode 16100
7 years ago
jsteube 1b312d14fd Added hash-mode 16000 = Tripcode
7 years ago
jsteube f2ea05ca69 Final v4.0.1 commit
7 years ago
jsteube d0f5c9f2b3 Rename MacOS to macOS
7 years ago
jsteube 980f04a7b6 Rename instances of OSX to MacOS
7 years ago
Fist0urs e3cb3e9b4c test.pl ready and 0 error. Ready for PR
7 years ago
Fist0urs a6294537fd Splitted DPAPI kernel in 2 to increase performances
7 years ago
jsteube 036d4874c7 Update version numbers to v4.0.0-RC1
7 years ago
jsteube 2517292ac1 Removed option --weak-hash-check (zero-length password check) to increase startup time, it also causes many Trap 6 error on OSX
7 years ago
jsteube 617dbb97ba Prepare migration -m 15800 into -m 2500
7 years ago
jsteube 0a0522cf76 Reset salt length limit in test.pl for mode 4520 to not run into errors in case the user specifies the -O mode
7 years ago
philsmd 9f097b473f
formatting: remove tabs in tools/package_bin.sh
7 years ago
jsteube ae5a97a95b Remove -O from test.sh
7 years ago
jsteube 68a8f70edb Mix in pure kernel functions in various optimized kernels
7 years ago
jsteube 29e13d6b77 Add pure kernels for OpenCart
7 years ago
jsteube 6bafc385dc Use pure kernels in test.sh by default
7 years ago
jsteube b9a1e84093 Fix test script for updated max password length of -m 9700 and -m 9800
7 years ago
jsteube c9cae1f663 Add pure kernels for PrestaShop
7 years ago