1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00
Commit Graph

5012 Commits

Author SHA1 Message Date
R. Yushaev
074fad9fef Correct buffer size parameter in snprintf calls
There are approx. 240 snprintf calls that set the target buffer size to
out_len - 1 or similar. This "mind the null character" subtraction is
unnecessary since snprintf already includes the string termination into
the given buffer size.
2018-12-07 10:37:56 +01:00
Jens Steube
15ece0902f
Merge pull request #1804 from Naufragous/odf-cracking
Add support for Open Document Format 1.2
2018-12-07 09:36:31 +01:00
Jens Steube
9d213147e8
Merge pull request #1805 from mcovalt/electrum_salt_type_2
Electrum Salt-Type 2
2018-12-07 09:33:13 +01:00
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))
2018-12-06 18:00:09 +01:00
Matt Covalt
e2ac101526 Update interface.c to remove non-existant Salt-Type 3 support. 2018-12-06 08:33:42 -08:00
Jens Steube
0db69138a7
Merge pull request #1807 from s3inlc/ikepsk
Added changes for fixed output of IKE PSK hashes
2018-12-06 16:25:55 +01:00
Sein Coray
9a872a6775
Added changes for fixed output of IKE PSK hashes 2018-12-06 14:42:17 +01:00
Jens Steube
09ec2a9c3c
Merge pull request #1803 from s3inlc/ikepsk
Extended IKE PSK md5/sha1 (-m 5300/5400) to print hashes correctly
2018-12-05 20:28:12 +01:00
Jens Steube
473b08560b
Merge pull request #1802 from s3inlc/master
Added swiss keyboard layout
2018-12-05 20:25:49 +01:00
Matt Covalt
71d9369a70 Correct Electrum Wallet Salt-Type support 2018-12-05 10:53:14 -08:00
Matt Covalt
bb9328f48b Add salt type 2 support for optimized functions 2018-12-05 10:42:23 -08:00
Matt Covalt
a913db6390 Add salt type 2 support for pure functions 2018-12-05 10:37:40 -08:00
Matt Covalt
36bdcf844a Add function to check if vector represents a Base58 string 2018-12-05 10:20:41 -08:00
Sein Coray
c941e55a35
Extended IKE PSK md5/sha1 (-m 5300/5400) to print hashes correctly 2018-12-05 12:57:54 +01:00
Sein Coray
f96623e1de
Fixed typo with space between characters 2018-12-04 16:05:22 +01:00
Sein Coray
fd8aae131e
Added swiss keyboard layout 2018-12-04 16:03:44 +01:00
Jens Steube
0076f4075b
Merge pull request #1801 from philsmd/noproduction
Set github master to non-production mode
2018-12-04 12:09:05 +01:00
Jens Steube
cb36ea20e8
Merge pull request #1800 from philsmd/master
keyboard layout mapping: added it.hckmap
2018-12-04 12:08:47 +01:00
philsmd
2ee7306322
Set github master to non-production mode 2018-12-04 11:54:05 +01:00
philsmd
d8d5637f0f
added it.hckmap for italian keyboard layout mapping 2018-12-04 11:45:58 +01:00
Jens Steube
57980a70d1 se.hckmap: fix syntax error in space bar 2018-12-04 10:02:52 +01:00
Jens Steube
815a89e0cc se.hckmap: add missing space bar, replace spaces with tab 2018-12-04 09:58:20 +01:00
Jens Steube
798ba27814
Merge pull request #1799 from ZerxXxes/master
Add swedish keyboard layout mapping
2018-12-04 09:54:55 +01:00
Markus Klock
448ecdaa7b Add swedish keyboard layout mapping 2018-12-03 09:22:16 +01:00
Jens Steube
72319875d8 Update version to 5.1.0 2018-12-02 11:58:48 +01:00
Jens Steube
282022406c Merge branch 'master' of https://github.com/hashcat/hashcat 2018-11-30 23:00:00 +01:00
Jens Steube
0b2ffec379 Fixed selection of OpenCL devices (-d) if there's more than 32 OpenCL devices installed 2018-11-30 22:59:43 +01:00
Jens Steube
774b9bb3b6
Merge pull request #1798 from Naufragous/cleanup-n-hardcode
Cleanup VeraCrypt related code
2018-11-29 12:59:56 +01:00
R. Yushaev
5efebb7b48 Cleanup VeraCrypt related code
Remove unnecessary constant variables by hardcoring values instead of
looking up. Precalculate swaps that are known at compile time. Hardcode
hashes_shown offset as zero for all TC / VC kernels.
2018-11-29 12:49:03 +01:00
Jens Steube
01879c6395
Merge pull request #1796 from Naufragous/veracrypt-camellia
Add Camellia support for VeraCrypt kernels
2018-11-29 12:41:56 +01:00
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
2018-11-28 14:21:14 +01:00
Jens Steube
b457f402c6 Fix output of mapped password in status screen 2018-11-26 12:39:17 +01:00
Jens Steube
79263c142d Fix parameter name spelling 2018-11-26 09:38:13 +01:00
Jens Steube
8fb93a7685 Add new layouts folder to binary package script 2018-11-26 09:17:24 +01:00
Jens Steube
85bc702730 Finalize de.hckmap 2018-11-25 18:49:44 +01:00
Jens Steube
65abccc93e Migrate inc_truecrypt_keyboard.cl into inc_common.cl 2018-11-25 18:34:57 +01:00
Jens Steube
fca4f7e8a6 Prepare to use --keyboard-layout-mapping for algorithms other than TC/VC 2018-11-25 18:21:07 +01:00
Jens Steube
ee2854ec2a Support multi-byte characters for TC/VC keyboard layout mapping tables 2018-11-25 13:31:37 +01:00
Jens Steube
38e97bd89a
Merge pull request #1793 from Naufragous/veracrypt-kuznyechik
Add Kuznyechik support for VeraCrypt kernels
2018-11-22 16:31:02 +01:00
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
2018-11-22 16:07:45 +01:00
Jens Steube
c15f741dca Fixed out-of-boundary read in DPAPI masterkey file v2 OpenCL kernel 2018-11-21 14:55:22 +01:00
Jens Steube
e117e750fc Add restrict keyword to kernel declarations to help the compiler with caching optimizations 2018-11-21 13:00:30 +01:00
Jens Steube
ed8384d4bc OpenCL Runtime: Disable auto-vectorization for Intel OpenCL runtime to workaround hanging JiT since version 18.1.0.013 2018-11-21 12:03:47 +01:00
Jens Steube
1a8c712452 Fix typo in test.pl 2018-11-21 08:54:20 +01:00
Jens Steube
64dfd40113 Give the compiler a hint for automatic optimizations based on password length 2018-11-20 15:44:24 +01:00
Jens Steube
53c8600089 Give the compiler a hint for automatic optimizations based on password length 2018-11-20 15:34:43 +01:00
Jens Steube
0e428b3c40 Give the compiler a hint for automatic optimizations based on password length 2018-11-20 15:32:41 +01:00
Jens Steube
c9da60c73a Fixed thread count maximum for pure kernels in straight attack mode 2018-11-20 15:29:24 +01:00
Jens Steube
2a6444c05a Give the compiler a hint for automatic optimizations based on password length 2018-11-20 15:26:46 +01:00
Jens Steube
490050ecb3 Update usage.c description for --spin-damp 2018-11-20 14:52:49 +01:00