Added hash-mode 18300 (Apple File System)

Fixes https://github.com/hashcat/hashcat/issues/1686
This commit is contained in:
Jens Steube
2018-11-12 11:37:01 +01:00
parent a5818facf2
commit a4200ba167
9 changed files with 860 additions and 3 deletions
+2
View File
@@ -1363,6 +1363,7 @@ typedef enum kern_type
KERN_TYPE_KECCAK_512 = 18000,
KERN_TYPE_TOTP_HMACSHA1 = 18100,
KERN_TYPE_KRB5ASREP = 18200,
KERN_TYPE_APFS = 18300,
KERN_TYPE_PLAINTEXT = 99999,
} kern_type_t;
@@ -1630,6 +1631,7 @@ int wpa_pmkid_pbkdf2_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_bu
int wpa_pmkid_pmk_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int ansible_vault_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int totp_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int apfs_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
/**
* hook functions