Added hash mode 18500 sha1(md5(md5($pass)))

closes hashcat/hashcat#1652
This commit is contained in:
Sein Coray
2018-12-10 16:11:11 +01:00
parent 050b54b8cf
commit a70a0513bf
9 changed files with 869 additions and 4 deletions
+8 -2
View File
@@ -94,7 +94,7 @@ my $MODES =
13400, 13500, 13600, 13800, 13900, 14000, 14100, 14400, 14700, 14800, 14900,
15000, 15100, 15200, 15300, 15400, 15500, 15600, 15700, 15900, 16000, 16100,
16200, 16300, 16400, 16500, 16600, 16700, 16800, 16900, 17300, 17400, 17500,
17600, 17700, 17800, 17900, 18000, 18100, 18200, 18300, 18400, 99999
17600, 17700, 17800, 17900, 18000, 18100, 18200, 18300, 18400, 18500, 99999
];
## STEP 2a: If your hash mode does not need a salt, add it to this array.
@@ -111,7 +111,7 @@ my $COMMON_UNSALTED_MODES =
0, 100, 101, 133, 200, 300, 600, 900, 1000, 1300, 1400,
1700, 2600, 3500, 4300, 4400, 4500, 4600, 4700, 5100, 5700, 6000,
6100, 6900, 9900, 10800, 11500, 11700, 11800, 16400, 17300, 17400, 17500,
17600, 17700, 17800, 17900, 18000, 99999
17600, 17700, 17800, 17900, 18000, 18500, 99999
];
## STEP 2b: If your hash-mode has a salt without any specific syntax,
@@ -10730,6 +10730,12 @@ END_CODE
$tmp_hash = '$odf$'."*1*1*$iterations*32*$checksum*16*$iv*16*$salt_buf*0*$ciphertext";
}
elsif ($mode == 18500)
{
$hash_buf = sha1_hex (md5_hex (md5_hex ($word_buf)));
$tmp_hash = sprintf ("%s", $hash_buf);
}
elsif ($mode == 99999)
{
$tmp_hash = sprintf ("%s", $word_buf);
+1 -1
View File
@@ -30,7 +30,7 @@ HASH_TYPES="0 10 11 12 20 21 22 23 30 40 50 60\
13751 13752 13753 13771 13772 13773 13800 13900 14000 14100 14400 14600 14700\
14800 14900 15000 15100 15200 15300 15400 15500 15600 15700 15900 16000 16100\
16200 16300 16400 16500 16600 16700 16800 16900 17300 17400 17500 17600 17700\
17800 17900 18000 18100 18200 18300 18400 99999"
17800 17900 18000 18100 18200 18300 18400 18500 99999"
VECTOR_WIDTHS="1 2 4 8 16"