hashcat Forum
Hashcat don't parse sha256($pass.$salt) with --hex-salt - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Hashcat don't parse sha256($pass.$salt) with --hex-salt (/thread-6851.html)



Hashcat don't parse sha256($pass.$salt) with --hex-salt - Sha256 - 09-06-2017

Hashcat don't parse sha256($pass.$salt) with --hex-salt:

PHP Code:
# hashcat -V
v3.6.0-292-g7cf3c29
# cat test.txt 
b8ac34d77b442ab2bf91d276173fa57a113b21cc3bdf6ee20d175c0605522b90:31323334 
PHP Code:
# hashcat -m 1410 ./test.txt --hex-salt
hashcat (v3.6.0-292-g7cf3c29starting...

Device #3: WARNING! Kernel exec timeout is not disabled.
             This may cause "CL_OUT_OF_RESOURCES" or related errors.
             To disable the timeoutseehttps://hashcat.net/q/timeoutpatch
OpenCL Platform #1: NVIDIA Corporation
======================================
Device #1: GeForce GTX 1080, 2028/8114 MB allocatable, 20MCU
Device #2: GeForce GTX 1080, 2028/8114 MB allocatable, 20MCU
Device #3: GeForce GTX 1080, 2028/8113 MB allocatable, 20MCU

Compared hashes with potfile entries...Self-test hash parsing errorSalt-length exception

Started
Wed Sep  6 16:24:45 2017
Stopped
Wed Sep  6 16:24:45 2017 



RE: Hashcat don't parse sha256($pass.$salt) with --hex-salt - MrMeeseeks - 09-06-2017

1. Do not post hashes. Please obfuscate before you get a week ban.
2. You need to apply your timeout patch.
3. It looks like this is an error in the releases >3.6.0. so a bug report will need to be filed.

I am getting the same error with the current beta release. But, the stable release of 3.6.0 is not throwing this same error.

Code:
C:\hashcat360>hashcat64.exe -V
v3.6.0

C:\hashcat360>hashcat64.exe -m 1410 hash.txt --hex-salt --force
hashcat (v3.6.0) starting...

OpenCL Platform #1: Intel(R) Corporation
========================================
* Device #1: Intel(R) HD Graphics 4600, 407/1629 MB allocatable, 20MCU
* Device #2: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, skipped.

Hashes: 1 digests; 1 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1

Applicable optimizers:
* Zero-Byte
* Precompute-Init
* Precompute-Merkle-Demgard
* Early-Skip
* Not-Iterated
* Appended-Salt
* Single-Hash
* Single-Salt
* Raw-Hash

Watchdog: Hardware monitoring interface not found on your system.
Watchdog: Temperature abort trigger disabled.
Watchdog: Temperature retain trigger disabled.

Starting attack in stdin mode...

Session..........: hashcat
Status...........: Running
Hash.Type........: sha256($pass.$salt)
Hash.Target......: b8ac34d77b442ab2bf91d276173fa57a113b21cc3bdf6ee20d1...323334
Time.Started.....: Wed Sep 06 10:28:16 2017 (10 secs)
Time.Estimated...: Wed Sep 06 10:28:26 2017 (0 secs)
Guess.Base.......: Pipe
Speed.Dev.#1.....:        0 H/s (0.00ms)
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 0
Rejected.........: 0
Restore.Point....: 0
Candidates.#1....: [Copying]
HWMon.Dev.#1.....: N/A

Session..........: hashcat
Status...........: Running
Hash.Type........: sha256($pass.$salt)
Hash.Target......: b8ac34d77b442ab2bf91d276173fa57a113b21cc3bdf6ee20d1...323334
Time.Started.....: Wed Sep 06 10:28:16 2017 (20 secs)
Time.Estimated...: Wed Sep 06 10:28:36 2017 (0 secs)
Guess.Base.......: Pipe
Speed.Dev.#1.....:        0 H/s (0.00ms)
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 0
Rejected.........: 0
Restore.Point....: 0
Candidates.#1....: [Copying]
HWMon.Dev.#1.....: N/A

Session..........: hashcat
Status...........: Running
Hash.Type........: sha256($pass.$salt)
Hash.Target......: b8ac34d77b442ab2bf91d276173fa57a113b21cc3bdf6ee20d1...323334
Time.Started.....: Wed Sep 06 10:28:16 2017 (30 secs)
Time.Estimated...: Wed Sep 06 10:28:46 2017 (0 secs)
Guess.Base.......: Pipe
Speed.Dev.#1.....:        0 H/s (0.00ms)
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 0
Rejected.........: 0
Restore.Point....: 0
Candidates.#1....: [Copying]
HWMon.Dev.#1.....: N/A

^C
C:\hashcat360>cd ../hashcatbeta

C:\hashcatbeta>hashcat64.exe -V
v3.6.0-470-gd05f40ab

C:\hashcatbeta>hashcat64.exe -m 1410 hash.txt --hex-salt --force
hashcat (v3.6.0-470-gd05f40ab) starting...

Old potfile detected: C:\hashcatbeta/hashcat.pot
New potfile is: C:\hashcatbeta/hashcat.potfile

OpenCL Platform #1: Intel(R) Corporation
========================================
* Device #1: Intel(R) HD Graphics 4600, 407/1629 MB allocatable, 20MCU
* Device #2: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, skipped.

Self-test hash parsing error: Salt-length exception

Started: Wed Sep 06 10:29:03 2017
Stopped: Wed Sep 06 10:29:04 2017



RE: Hashcat don't parse sha256($pass.$salt) with --hex-salt - philsmd - 09-06-2017

The newest beta version (https://hashcat.net/beta/) should fix this problem.
Thx for reporting


RE: Hashcat don't parse sha256($pass.$salt) with --hex-salt - MrMeeseeks - 09-06-2017

Confirmed working
Code:
C:\hashcat360471>hashcat64.exe -V
v3.6.0-471-g3b89153c

C:\hashcat360471>hashcat64.exe -m 1410 hash.txt --hex-salt --force
hashcat (v3.6.0-471-g3b89153c) starting...

OpenCL Platform #1: Intel(R) Corporation
========================================
* Device #1: Intel(R) HD Graphics 4600, 407/1629 MB allocatable, 20MCU
* Device #2: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, skipped.

Hashes: 1 digests; 1 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1

Applicable optimizers:
* Zero-Byte
* Early-Skip
* Not-Iterated
* Single-Hash
* Single-Salt
* Raw-Hash

Password length minimum: 0
Password length maximum: 256
Salt length minimum: 0
Salt length maximum: 512

Watchdog: Hardware monitoring interface not found on your system.
Watchdog: Temperature abort trigger disabled.
Watchdog: Temperature retain trigger disabled.

Starting attack in stdin mode...

Session..........: hashcat
Status...........: Running
Hash.Type........: sha256($pass.$salt)
Hash.Target......: b8ac34d77b442ab2bf91d276173fa57a113b21cc3bdf6ee20d1...323334
Time.Started.....: Wed Sep 06 16:10:34 2017 (7 secs)
Time.Estimated...: Wed Sep 06 16:10:41 2017 (0 secs)
Guess.Base.......: Pipe
Speed.Dev.#1.....:        0 H/s (0.00ms)
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 0
Rejected.........: 0
Restore.Point....: 0
Candidates.#1....: [Copying]
HWMon.Dev.#1.....: N/A