Gabriele Gristina
6fc74a2bdb
Add MD4 module
6 years ago
Sein Coray
4d1c53b3e5
Added test modules for mode 133, 140 and 141
6 years ago
Sein Coray
e12ce123c9
Added test modules for mode 130, 131 and 132
6 years ago
Sein Coray
3b629e9c12
Added test modules for mode 121, 122 and 125
6 years ago
Gabriele Gristina
2068f88371
Add SHA384 module
6 years ago
Gabriele Gristina
aa15ae9fb5
Add SHA224 module
6 years ago
Gabriele Gristina
9f6a27e8b6
Add SHA256 module
6 years ago
jsteube
105c0ce0cb
Add unit test for SHA512
6 years ago
Jens Steube
fb938970d8
Merge pull request #1844 from s3inlc/test-plugin-101_111_112
...
Added test modules for mode 101, 111 and 112
6 years ago
Sein Coray
7b033a58ae
Fixed test module constraints
6 years ago
Sein Coray
c959d1bb34
Added test modules for mode 101, 111 and 112
6 years ago
jsteube
958d89872a
Remove old code
6 years ago
jsteube
55ff8fe729
Guarantee to have used the minimum and maximum length of both password and salt to be used at least once
6 years ago
jsteube
620bd693c5
Guarantee output of 8 entries in single mode in test.pl
6 years ago
jsteube
0baf8fc2f9
Fix constraints in -m 30 and -m 40 and return array in -m 40
6 years ago
jsteube
9ee247c6f8
Fix password length for optimized mode in constraints for hash-mode 22: 55 - (1 + 20 + 1)
6 years ago
Jens Steube
3516fd70a4
Merge pull request #1843 from s3inlc/test-plugin-22_30_40
...
Added test modules for mode 22, 30 and 40
6 years ago
Sein Coray
a4b7a052b8
Added test modules for mode 22, 30 and 40
6 years ago
Sein Coray
50cac0a43b
Changed regex to read hash modes from test modules
6 years ago
jsteube
8613e2fc81
test.sh fix packaged hash types
6 years ago
jsteube
3b43bd6d03
Automatically fill HASH_TYPES in test.sh
6 years ago
jsteube
ac0560fd4a
Make use of module_constraints more easy and fix some modes
6 years ago
jsteube
eeff037365
Fix test.sh in non-optimized mode
6 years ago
jsteube
f721f23d39
Update test modules to max password length 255 not 256
6 years ago
jsteube
92828910fe
Added test_module for -m 300
6 years ago
jsteube
14cda9b33c
Added test_module for -m 200
6 years ago
jsteube
9b572d3faa
Add remaining updates for test.sh
6 years ago
jsteube
925c089035
test.sh -a 6 fixes
6 years ago
jsteube
813977e419
test.sh first changes
6 years ago
jsteube
bcbaef3853
Fix maximum password and salt length in -m 23
6 years ago
jsteube
e137794555
Fix random_number() and -m 12 contraints
6 years ago
jsteube
e8029cdc5c
Generate more reasonable pw and salt length in test.pl mode single
6 years ago
jsteube
062e539b02
Workaround old salt length problem
6 years ago
jsteube
22da2407e9
Make sure word length in test.pl single mode only increases or stays equal to previous one
6 years ago
jsteube
10a7c5df3d
Improve test.pl functionality a bit
6 years ago
jsteube
fcaa7d5336
Fix test_modules
6 years ago
jsteube
2afb4e0f36
Fix test.pl single mode if password is '0'
6 years ago
jsteube
7538e82b72
Bring back comparison of hashlist in crackfile
6 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
...
Added test modules for mode 50 and 60
6 years ago
Jens Steube
ec96c5128f
Merge pull request #1839 from s3inlc/test-plugin-20_21_23
...
Added test modules for mode 20, 21 and 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
...
Added test modules for mode 10 and 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
...
Added new test module for mode 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
...
Some algorithms have ambiguous hashes (e.g. case-insensetive usernames
in Net-NTLMv2 hashes). This optional function allows test modules to
unify the hashlist before the verification process starts.
Also update readme and minor code formatting.
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
...
Modularize mode 5600, add random_ helper functions, update readme.
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
...
Add tests for modes 0, 100, 110, 120, 18400, 18600. Update readme.
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
...
Contains a kernel for the ODF 1.1 encryption implemented in OpenOffice.
The algorithm uses a SHA-1 checksum, a PBKDF2-HMAC-SHA1 key derivation
with 1024 iterations and Blowfish-CFB encryption.
Valid hashes can be extracted with the libreoffice2john.py script,
available from the John the Ripper Jumbo repository at
https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/run/libreoffice2john.py
You have to remove the filename suffix at the end of the hash before
passing it to hashcat. Also see 'hashcat -m18600 --example-hashes'.
You can leave the filename prefix if you use the --username option to
process those hashes.
- Add hash-mode 18600 (Open Document Format (ODF) 1.1 (SHA-1, Blowfish))
- Tests: add hash-mode 18600 (Open Document Format (ODF) 1.1 (SHA-1, Blowfish))
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
...
Changed cat -A to cat -vet in test.sh
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)))
...
closes hashcat/hashcat#1652
6 years ago
R. Yushaev
6a5b0c821e
Add support for Open Document Format 1.2
...
Contains a kernel for the latest ODF 1.2 encryption implemented in
LibreOffice. The algorithm uses a SHA-256 checksum, a PBKDF2-HMAC-SHA1
key derivation with 100000 iterations and key stretching and AES-CBC
encryption.
Valid hashes can be extracted with the libreoffice2john.py script,
available from the John the Ripper Jumbo repository at
https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/run/libreoffice2john.py
You have to remove the filename suffix at the end of the hash before
passing it to hashcat. Also see 'hashcat -m18400 --example-hashes'.
You can leave the filename prefix if you use the --username option to
process those hashes.
- Add hash-mode 18400 (Open Document Format (ODF) 1.2 (SHA-256, AES))
- Tests: add hash-mode 18400 (Open Document Format (ODF) 1.2 (SHA-256, AES))
6 years ago
Jens Steube
72319875d8
Update version to 5.1.0
6 years ago
R. Yushaev
baf47d409e
Add Camellia support for VeraCrypt kernels
...
Adds suport for the Japanese cipher Camellia with 256-bit keys as used
by VeraCrypt.
- Add Camellia header decryption checks to all VeraCrypt kernels
- Add test containers for remaining cipher combinations
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
...
Adds support for the Russian cipher specified in GOST R 34.12-2015, also
known as Kuznyechik (Grasshopper).
- Add Kuznyechik header decryption checks to all VeraCrypt kernels
- Add test containers for available Kuznyechik cipher combinations
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
...
The test scripts have grown to be quite big (over 15000 lines) and
are hard to navigate. There are multiple if branches with over
40 conditional checks chained together. This commit solves some of
those issues.
- Unite big repetetive if conditions into clean array lookups
- Move 'install help' commands to a separate shell script
- Adjust array lookup in test.sh to behave more intuitive
- Add comments at key points to simplify navigation
- Code formatting
6 years ago
Jens Steube
a4200ba167
Added hash-mode 18300 (Apple File System)
...
Fixes https://github.com/hashcat/hashcat/issues/1686
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
...
Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
Fixed invalid warnings about throttling in case --hwmon-disable was used
Fixes https://github.com/hashcat/hashcat/issues/1757
6 years ago
R. Yushaev
34aa899a05
Add RIPEMD-160 test containers for VeraCrypt modes
...
- Tests: Add hash-mode 13711 (VeraCrypt PBKDF2-HMAC-RIPEMD160 + XTS 512 bit)
- Tests: Add hash-mode 13712 (VeraCrypt PBKDF2-HMAC-RIPEMD160 + XTS 1024 bit)
- Tests: Add hash-mode 13713 (VeraCrypt PBKDF2-HMAC-RIPEMD160 + XTS 1536 bit)
6 years ago
R. Yushaev
5eaee33094
Add test containers for VeraCrypt modes
...
There were testing containers for TrueCrypt hash modes (62XY),
but none for the VeraCrypt ones (137XY). This commit adds test
cases for all currently attackable hash/cipher combinations,
except RIPEMD-160 and those with boot-mode.
RIPEMD-160 is considered deprecated in VeraCrypt since 2015.
- Tests: Add hash-mode 13721 (VeraCrypt PBKDF2-HMAC-SHA512 + XTS 512 bit)
- Tests: Add hash-mode 13722 (VeraCrypt PBKDF2-HMAC-SHA512 + XTS 1024 bit)
- Tests: Add hash-mode 13723 (VeraCrypt PBKDF2-HMAC-SHA512 + XTS 1536 bit)
- Tests: Add hash-mode 13731 (VeraCrypt PBKDF2-HMAC-Whirlpool + XTS 512 bit)
- Tests: Add hash-mode 13732 (VeraCrypt PBKDF2-HMAC-Whirlpool + XTS 1024 bit)
- Tests: Add hash-mode 13733 (VeraCrypt PBKDF2-HMAC-Whirlpool + XTS 1536 bit)
- Tests: Add hash-mode 13751 (VeraCrypt PBKDF2-HMAC-SHA256 + XTS 512 bit)
- Tests: Add hash-mode 13752 (VeraCrypt PBKDF2-HMAC-SHA256 + XTS 1024 bit)
- Tests: Add hash-mode 13753 (VeraCrypt PBKDF2-HMAC-SHA256 + XTS 1536 bit)
- Tests: Add hash-mode 13771 (VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 512 bit)
- Tests: Add hash-mode 13772 (VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 1024 bit)
- Tests: Add hash-mode 13773 (VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 1536 bit)
6 years ago
R. Yushaev
47bd838e25
Add VeraCrypt Streebog support
...
VeraCrypt added the possibility to use Streebog-512 as hashing algorithm
for the key derivation. This commit adds the necessary VeraCrypt kernels
as well as additional HMAC-Streebog kernels.
- Add hash-mode 13771: VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 512 bit
- Add hash-mode 13772: VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 1024 bit
- Add hash-mode 13773: VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 1536 bit
- Add hash-mode 11750: HMAC-Streebog-256 (key = $pass), big-endian
- Add hash-mode 11760: HMAC-Streebog-256 (key = $salt), big-endian
- Add hash-mode 11860: HMAC-Streebog-512 (key = $salt), big-endian
- Add test suite for hash-modes 11750, 11760 and 11860
- Improve pure Streebog kernels
6 years ago
Royce Williams
6053f473eb
trailing whitespace
6 years ago
R. Yushaev
a8eb611b1c
Add HMAC-Streebog-512 (pure kernels)
...
Implement HMAC based on GOST 34.11-2012 Streebog-512 as well as a test
case for it. Both the PyGOST + hmac python module and the VeraCrypt HMAC
for Streebog-512 were used as references. The kernels expect the digests
to be in big-endian order according to the RFC examples for Streebog.
Fix two bugs from commit 224315dd62
.
- Add hash-mode 11850: HMAC-Streebog-512 (key = $pass), big-endian
- Add test case for hash-mode 11850
- Bugfix for a3-pure Streebog kernels (modes 11700 and 11800)
- Rename a few Streebog constants in interface.h
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
...
Complete Streebog support with pure kernels that allow for passwords
longer than 64 characters. Provide generic inc_hash_streebog files
for future Streebog-based hash modes (HMAC, PBKDF2, VeraCrypt).
Include streebog support in the test suite. For this, python module
PyGOST is needed. Also add clarification to hash mode description
stating that Streebog hashes are expected in big-endian byte order.
There are several implementations, including PyGOST, which default
to little-endian byte order, while the RFC examples are big-endian.
- Add pure kernels for hash-mode 11700 (Streebog-256)
- Add pure kernels for hash-mode 11800 (Streebog-512)
- Tests: Add hash-modes 11700 (Streebog-256) and 11800 (Streebog-512)
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
...
The previous hash-mode 5000 covered Keccak-256 only. FIPS changed one
padding byte while adopting Keccak as the SHA3 standard, which gives us
different digests. Now we have separate kernels for SHA3 and Keccak.
- Added hash-mode 17300 = SHA3-224
- Added hash-mode 17400 = SHA3-256
- Added hash-mode 17500 = SHA3-384
- Added hash-mode 17600 = SHA3-512
- Added hash-mode 17700 = Keccak-224
- Added hash-mode 17800 = Keccak-256
- Added hash-mode 17900 = Keccak-384
- Added hash-mode 18000 = Keccak-512
- Removed hash-mode 5000 = SHA-3 (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
...
Added hash-mode 16801 = WPA-PMKID-PMK
Renamed lot's of existing WPA related variables to WPA-EAPOL in order to distinguish them with WPA-PMKID variables
Renamed WPA/WPA2 to WPA-EAPOL-PBKDF2
Renamed WPA/WPA2 PMK to WPA-EAPOL-PMK
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
7 years ago
jsteube
83f07febfc
Initial v4.1.1 deverloper mode commit
7 years ago
jsteube
c99de3c22a
Fix missing function export in test.pl
7 years ago
jsteube
09261dad0e
Prepare for v4.1.0 release
7 years ago
jsteube
e877c30ebc
OpenCL Kernels: Remove password length restriction to 16 for Cisco-PIX and Cisco-ASA hashes
...
Fixes #1488
7 years ago
Jens Steube
e1eab586fd
Add some note for test.pl
7 years ago
Jens Steube
3b4c418b47
Prepare for -m 16600
7 years ago
jsteube
ce0cee0ac4
Stick to original JWT format from jwt.io
7 years ago
jsteube
0796c074c3
Added -m 16500 Kernels
...
Also changed function declaration of parser function from const hashconfig_t to just hashconfig_t
7 years ago
jsteube
5eeefb5506
More prepare for JWT
7 years ago
jsteube
6c86243b9b
Prepare for JWT
7 years ago
Arseniy Sharoglazov
f84b2c52f8
Tests: added support for -m 16400 = CRAM-MD5 Dovecot
7 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
philsmd
3bc217ddb7
tests: fix tests for -m 14000, 14100, 14900 and 15400
7 years ago
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
philsmd
86db2ded03
test: fixed tests for -m 2410 in combinator mode
7 years ago
jsteube
335ed09478
Fix test script settings for -m 15400 with new settings from interface.c
7 years ago
jsteube
8c89ed9406
Fix test script settings for -m 2400 and -m 2410 with new settings from interface.c
7 years ago
jsteube
dae5d81a9c
Update test.sh default options
7 years ago
jsteube
10d9918bb1
Remove password minimum length for -m 112 and -m 3100
7 years ago
jsteube
beb6ee2061
Add OPTI_TYPE_OPTIMIZED_KERNEL
...
Rename unconverted fast hash kernels to optimized kernels
Finalize some converted fast hashes to default kernels
7 years ago
jsteube
fbea72ebd6
Renamed default kernels to optimized kernels
...
Renamed pure kernels to default kernels
Replaced long option --length-limit-disable with --optimized-kernel-enable
Replaced short option -L with -O
Set --optimized-kernel-enable to unset by default
7 years ago
jsteube
967d7b9323
Rename SALT_TYPE_INTERN to SALT_TYPE_GENERIC
7 years ago
Jens Steube
4833d6c4d7
Fix Makefile and test.sh script
7 years ago
jsteube
c4098e2230
Fix invalid use of a non-vector function from within a vector function
7 years ago
jsteube
f03156b05e
Add switch_buffer_by_offset_1x64_be_S() and code generators for later use
7 years ago
jsteube
c512e0c01a
Add example -L kernel for algorithms with appended salt in utf16le
7 years ago
jsteube
6cbd2acd24
Added long passwords support for Drupal7
7 years ago
jsteube
a22da36a00
Add different code generators for truncate_block(), add results to inc_common.cl and make use of them in m01800-pure.cl
7 years ago
jsteube
fa950a30f3
Add code generators for switch_buffer_by_offset_8x4_carry_be_S()
7 years ago
jsteube
ae96851db2
Add code generators for switch_buffer_by_offset_4x4_carry_be_S()
7 years ago
jsteube
94103ec3d2
Add code generators for switch_buffer_by_offset_8x4_be_S()
7 years ago
jsteube
d861c0db8d
Rename code generator filenames so that they match the function they are generator code for
7 years ago
jsteube
84bc2edd5b
Add code generators for switch_buffer_by_offset_16x4_be_S()
7 years ago
jsteube
40e1992d08
Rename code generators for switch_buffer_by_offset_le_S to switch_buffer_by_offset_64x1_le_S() and add code generators for switch_buffer_by_offset_16x4_le_S()
7 years ago
jsteube
52c1e15f3f
Move kernel-code for -L to standalone files with -pure suffix
7 years ago
jsteube
cb791aaf48
Add some code generator helper scripts
7 years ago
jsteube
83d5302256
Fix install makefile target for use with hashcat.hcstat2
7 years ago
jsteube
f9b7f1f758
Fix package_bin.sh script to use hashcat.hcstat2
7 years ago
jsteube
71d4926afa
Converted -m 400 to password length 256 support
...
Something weird happend here, read on!
I've expected some performance drop because this algorithm is using the password data itself inside the iteration loop.
That is different to PBKDF2, which I've converted in mode 2100 before and which did not show any performance as expected.
So after I've finished converting this kernel and testing everything works using the unit test, I did some benchmarks to see how much the
performance drop is.
On my 750ti, the speed dropped (minimal) from 981kH/s -> 948kH/s, that's mostly because of the SIMD support i had to drop.
If I'd turn off the SIMD support in the original, the drop would be even less, that us 967kH/s -> 948kH/s which is a bit of a more reasable
comparison in case we just want to rate the drop that is actually caused by the code change itself.
The drop was acceptable for me, so I've decided to check on my GTX1080.Now the weird thing: The performance increased from 6619kH/s to
7134kH/s!!
When I gave it a second thought, it turned out that:
1. The GTX1080 is a scalar GPU so it wont suffer from the drop of the SIMD code as the 750ti did
2. There's a change in how the global data (password) is read into the registers, it reads only that amount of data it actually needs by using
the pw_len information
3. I've added a barrier for CLK_GLOBAL_MEM_FENCE as it turned out to increase the performance in the 750ti
Note that this kernel is now branched into password length < 40 and larger.
There's a large drop on performance where SIMD is really important, for example CPU.
We could workaround this issue by sticking to SIMD inside the length < 40 branch, but I don't know yet how this can be done efficiently.
7 years ago
jsteube
cea78024bf
Fix -m 2100 cracking if (password length & 31) == 0
7 years ago
jsteube
83455817a7
Working example of password up to length 256 for mode 2100
7 years ago
jsteube
ad242c2f12
Working example of generic salt up to length 256 for mode 2100
7 years ago
Jens Steube
c5c2760a2e
Final v3.6.0 commit
7 years ago
Jens Steube
7e5b8d3f25
Added hash-mode 15500 = JKS Java Key Store Private Keys (SHA1)
7 years ago
philsmd
c5f88f1a60
test: added missing verify part for -m 15400 = chacha
7 years ago
Royce Williams
b9d68d2377
$chacha20$ (all lower case) per @magnumripper
7 years ago
jsteube
b8ad89c529
Rename function and variables containing 'unicode' to 'utf16le' because that's what's meant actually
7 years ago
Royce Williams
72baa22337
tidy changes.txt and name normalizations
7 years ago
Royce Williams
3fc185a66b
tidy changes.txt and name normalizations
7 years ago
Jens Steube
b23ab71d5c
- Added hash-mode 15600 = Ethereum Wallet, PBKDF2-HMAC-SHA256
...
- Added hash-mode 15700 = Ethereum Wallet, PBKDF2-SCRYPT
Resolves https://github.com/hashcat/hashcat/issues/1227
Resolves https://github.com/hashcat/hashcat/issues/1228
7 years ago
mhasbini
bcecd67ced
Add test case for position p
7 years ago
mhasbini
b1fee3b9f7
update test cases format for tools/test_rules.pl
7 years ago
jsteube
b3bf67a11d
Remove test cases for test_rules.pl that are known not to work
7 years ago
mhasbini
1330424079
Add support for rejection rule _N
7 years ago
Jens Steube
932d82e4be
Merge pull request #1248 from 0xbsec/rules-tests
...
Add tools/test_rules.pl script
7 years ago
DoZ10
5683df2e17
Fixed conflicts
7 years ago
mhasbini
791061f6d4
Add tools/test_rules.pl script
7 years ago
DoZ10
264ec951c2
Enhanced test.pl for 15400 and removed endianess confusion
7 years ago
DoZ10
8dfd1bf066
Final. Implemented offset parameter to reach next keystream in kernels. Tested all kernels with scalar and vector modes
7 years ago
DoZ10
cfc3fa64c0
Implemented offset parameter to reach full ks block of 64 bytes
7 years ago
DoZ10
0d3b5393ef
Swapped mode 670 -> 15400
7 years ago
Fist0urs
80927f6f66
Fixed verify mechanism + cosmetic changes in global test.pl
7 years ago
Fist0urs
7ff09c6710
Preparing PR
8 years ago
DoZ10
c50e8bc486
Fixed position parameters. Tested all kernels. Ok.
8 years ago
DoZ10
3c67e0054c
Implemented Perl test and fixed issues. Now have a working base.
8 years ago
DoZ10
903e716b9a
Swapped to outlen and tested. Okay. Still having problems with VECT_SIZE > 1
8 years ago
DoZ10
4839335c8a
Cleanup
8 years ago
DoZ10
58c1f46b19
Merge and conflict resolve.
8 years ago
DoZ10
8da56522f2
Added 600 to test.pl and test.sh..
8 years ago
DoZ10
9ddd4596a0
Added 12700 to test.sh (lazy conflict fix).
8 years ago
DoZ10
f93426c8f8
Remove tmp 600.
8 years ago
DoZ10
327a509492
Fixed test files conflicts.
8 years ago
DoZ10
e23f88fec8
Fixed Test files to match output. $Blake2$ Tag added to interface hash output
8 years ago
Jens Steube
086a07264a
Switch from libiconv to win-iconv
8 years ago
Jens Steube
26a345334f
Added hash-mode 15200 = Blockchain, My Wallet, V2
...
Fixes https://github.com/hashcat/hashcat/issues/109
8 years ago
jsteube
8caf3ba57f
Remove some debugging printf() call
8 years ago
jsteube
ac99df6618
Versions: Changed version naming convention from x.yz to x.y.z
8 years ago
jsteube
b632d81212
Mark -m 15100 as slow hash
8 years ago
jsteube
d1b2fa0b31
Added hash-mode 15100 = Juniper/NetBSD sha1crypt
8 years ago
philsmd
eca544425e
tests: -m 13300 = AxCrypt in memory SHA1 output length fix
8 years ago
philsmd
870b05d91c
tests: minor fixes and cleanups
8 years ago
philsmd
fd2d553177
test: removed unused variables
8 years ago
philsmd
4a5684600d
test: -m 15000 is salted, verify fixed
8 years ago
philsmd
a2708e1063
fixes #1160 : parsing/displaying -m 7000 = Fortigate hashes
8 years ago
philsmd
22d1129818
added -m 12001 = Atlassian (PBKDF2-HMAC-SHA1) #611
8 years ago
jsteube
a509221868
Fix password candidate generation for test.pl for mode 14000 and 14100
8 years ago
philsmd
f314ad0926
tests: minor, always run -m 99999 last
8 years ago
philsmd
86ea878755
tests: fixed timeout values
8 years ago
jsteube
9b08d4af0f
Update hccapx format to version 4
8 years ago
jsteube
778f568d91
Prepare for v3.40 release
8 years ago
philsmd
227c0be95e
resolves #1018 : added -m 3910 = md5(md5($pass).md5($salt))
8 years ago
philsmd
2436972623
always use the native sed (not gsed) for OSX, #1036
8 years ago
philsmd
7466ea941a
tests: added support for .hccapx to the tests
8 years ago
philsmd
15a9644f2a
fixes #943 : added -m 15000 = FileZilla Server >= 0.9.55
8 years ago
philsmd
fe6309caa7
fixes #398 : added -m 4110 md5($salt.md5($pass.$salt))
8 years ago
philsmd
8e689058d0
#398 : add -m 4010 = md5($salt.md5($salt.$pass))
8 years ago
philsmd
3611b299c4
tests: fixed for -m 4520 (with long salts)
8 years ago
philsmd
ed74ce1aca
fixes #928 : new mode -m 1411 = SSHA-256(Base64), LDAP {SSHA256}
8 years ago
jsteube
e0c3f447da
Added hash-mode 4520 = sha1($salt.sha1($pass))
...
Added hash-mode 4522 = PunBB
OpenCL Kernel: Renumbered hash-mode 7600 to 4521
The mode 4520 is the first to support salt length up to 64
8 years ago
philsmd
96e312ccb6
fixes #537 : added -m 7000 = Fortigate (FortiOS)
8 years ago
jsteube
1b8c2a29f1
Added hash-mode 14900 = Skip32
8 years ago
Jens Steube
07c89833c9
Added hash-mode 14800 = iTunes Backup >= 10.0
8 years ago
philsmd
9327475b41
added -m 14700 = iTunes Backup < 10.0
8 years ago
jsteube
8257883ec1
Added hash-mode 14600 = LUKS
8 years ago
Jens Steube
e9a34bd708
Update tc_tests/hashcat_ripemd160_aes_boot.tc for reference
8 years ago
jsteube
dca74af23f
Prepare for v3.30 release
8 years ago
Gabriele Gristina
3b5dfb06e9
Fix test.sh -m all bug & truecrypt tests
8 years ago
Gabriele Gristina
496c749b2b
Add missings requirements for SHA-224 support
8 years ago
Gabriele Gristina
3e682052db
Add truecrypt support in test.sh
8 years ago
jsteube
0f5dae539e
Removed rules_test/ subproject: Would require total rewrite but not used in a long time
8 years ago
jsteube
8805ca169b
Prepare for v3.20 release
8 years ago
jsteube
2bda020c83
Added new hash-mode 14400 = SHA1(CX)
...
Details: https://github.com/hashcat/hashcat/issues/554
8 years ago
jsteube
f3626fa082
Added new hash-mode 99999 = Plaintext
8 years ago
jsteube
578f6816c6
Fix some uint datatype leftovers
8 years ago
jsteube
3daf0af480
Added docs/credits.txt
...
Added docs/team.txt
8 years ago
jsteube
6aee697112
Cleanup some macro values
8 years ago
jsteube
71a8459d85
Two new modes added:
...
* Added new hash-mode 14000 = DES (PT = $salt, key = $pass)
* Added new hash-mode 14100 = 3DES (PT = $salt, key = $pass)
This patch initial was created out of this PR: https://github.com/hashcat/hashcat/pull/452 which is now no longer required
I've replace the -a 3 kernel with a bitsliced version which is around 10 times faster
I've also added test.sh and test.pl patches, but some of the test scripts need to be fixed
8 years ago
jsteube
d9e5224cfe
Fix version string in package script
8 years ago
Michael Sprecher
7593db9483
Added new hash-mode 13900 = OpenCart
8 years ago
philsmd
567923966b
test: fixed verify for -m 13100, -m 13200, -m 13300 and -m 13400
8 years ago
Jens Steube
8298cd4926
Drop -m 190, no reason to keep it
8 years ago
jsteube
b9eefd9b20
Added new hash-mode 13800 = Windows 8+ phone PIN/Password
8 years ago
Jens Steube
9f45ceb128
Fix includes for kernel2cpu_rule_test
8 years ago
Jens Steube
d64083e946
Fix package script
8 years ago
Jens Steube
2899f53a15
Move files from include/ to OpenCL/ if they are used within kernels
...
Rename includes in OpenCL so that it's easier to recognize them as such
8 years ago