12x GPU Monster For SALE by HashKiller Owner

NOTE: Why not use our List Manager to crack your lists? Its easy and enables better management.

NOTE: When cracking WPA/WPA2 passwords, make sure you check gpuhash.me first incase it's already been processed.

Home - General Discussion - I need help to fix my NTLM in PHP


3 Results - Page 1 of 1 -
1
Author Message
Avatar
Kalium

Status: Cracker
Joined: Thu, 27 Sep 2018
Posts: 127
Team:
Reputation: 209 Reputation
Offline
Sun, 09 Jun 2019 @ 17:28:16

Hello,

My code is :

Code:
$line = '$HEX[d0b9d184d18fd186d18bd18736]';
if( preg_match('~^\$HEX\[([a-f0-9A-F]+)\]$~', $line, $matches) )
{
	$line = pack("H*", $matches[1]);
}
echo "Line : ".$line."\nHash : ".hash('md4', mb_convert_encoding($line, 'UTF-16LE'))."\n";
// NTLM / md4(unicode($pass)) => 6ee6afd19d9273fb309a7c6654d29ddb

Result is :

Code:
Line : йфяцыч6
Hash : 6b81fc0e22c055a1eb6ae3e620d25b5f

I have a problem with the encoding charset, i think.

The good value is : 6ee6afd19d9273fb309a7c6654d29ddb

Can you help me to fix it ?

Thanks in advance,
Kalium


If I helped a +rep is appreciated !

BTC : 3Gw6qqkXFG5CtwgV5HNHXVmBwZh2wG9G9n

Avatar
gpuhash_me

Status: Trusted
Joined: Sun, 08 Nov 2015
Posts: 859
Team: gpuhash team
Reputation: 1605 Reputation
Online
Sun, 09 Jun 2019 @ 17:47:35


Trying python 3.6:

>>> import hashlib
>>> print(hashlib.new('md4', 'йфяцыч6'.encode('utf-16le')).hexdigest())
6b81fc0e22c055a1eb6ae3e620d25b5f

So your php result is OK

Also hashes.org check:

6b81fc0e22c055a1eb6ae3e620d25b5f:йфяцыч6: VERIFIED!


Head of cheap publicity department
Support, discounts, free offers for HK members
BTC: 1GPUHASHckzcL2fDXyGSc2WNqpFjJZbFaN

Avatar
Kalium

Status: Cracker
Joined: Thu, 27 Sep 2018
Posts: 127
Team:
Reputation: 209 Reputation
Offline
Sun, 09 Jun 2019 @ 17:51:27

Good news !!

Then, HK need to be fixed.

Thanks,
Kalium


If I helped a +rep is appreciated !

BTC : 3Gw6qqkXFG5CtwgV5HNHXVmBwZh2wG9G9n


3 Results - Page 1 of 1 -
1

We have a total of 202113 messages in 24906 topics.
We have a total of 22216 registered users.
Our newest registered member is m3lon.