Fix formatting to comply with hashcat coding guidelines

This commit is contained in:
unix-ninja
2018-10-17 16:34:34 -04:00
parent 23ee9379c1
commit db4ec8ed2c
5 changed files with 14 additions and 16 deletions
+3 -3
View File
@@ -9974,8 +9974,8 @@ END_CODE
}
elsif ($mode == 18100)
{
my $paddedTime = sprintf("%016x", int(int($salt_buf) / 30));
my $data = pack('H*', $paddedTime);
my $paddedTime = sprintf ("%016x", int (int ($salt_buf) / 30));
my $data = pack ('H*', $paddedTime);
my $key = $word_buf;
$hash_buf = hmac_hex ($data, $key, \&sha1, 64);
@@ -9987,7 +9987,7 @@ END_CODE
$token %= 1000000;
## token must be leading zero padded, and salt leading zero stripped
$tmp_hash = sprintf ("%06d:%d", $token, int($salt_buf));
$tmp_hash = sprintf ("%06d:%d", $token, int ($salt_buf));
}
elsif ($mode == 99999)
{