hashcat Forum

Full Version: Electrum 1 Hash: Token length exception
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to run an attack on the sample Electrum  hash provided in the documentation:

$electrum$2*7f4cbaa104234efd9f09eefcfd35abb2*2ff6948067557572c6eb837af5302fef

I am trying with the following commands, but receiving a Token Length Exception

$ hashcat -a 3 -m 0  $electrum$2*7f4cbaa104234efd9f09eefcfd35abb2*2ff6948067557572c6eb837af5302fef


 $ hashcat -a 3 -m 16600  $electrum$2*7f4cbaa104234efd9f09eefcfd35abb2*2ff6948067557572c6eb837af5302fef


Interestingly, if I include only the first half of the hash or the last half of the hash (separated by the "*"), hashcat starts running

Can anyone suggest the right way to run an attack on this hash? Thanks in advance

hashcat -a 0 -m 16600  $electrum$2*7f4cbaa104234efd9f09eefcfd35abb2*2ff6948067557572c6eb837af5302fef
hashcat (v6.2.6-851-g6716447df) starting

Successfully initialized the NVIDIA main driver CUDA runtime library.

Failed to initialize NVIDIA RTC library.

* Device #1: CUDA SDK Toolkit not installed or incorrectly installed.
            CUDA SDK Toolkit required for proper device support and utilization.
            For more information, see: https://hashcat.net/faq/wrongdriver
            Falling back to OpenCL runtime.

nvmlDeviceGetFanSpeed(): Not Supported

OpenCL API (OpenCL 3.0 CUDA 12.6.65) - Platform #1 [NVIDIA Corporation]
=======================================================================
* Device #1: NVIDIA GeForce RTX 4060 Laptop GPU, 7680/7836 MB (1959 MB allocatable), 24MCU

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 256

Hash '*7f4cbaa104234efd9f09eefcfd35abb2*2ff6948067557572c6eb837af5302fef': Token length exception

* Token length exception: 1/1 hashes
 This error happens if the wrong hash type is specified, if the hashes are
 malformed, or if input is otherwise not as expected (for example, if the
 --username or --dynamic-x option is used but no username or dynamic-tag is present)

No hashes loaded.

Started: Thu Jan  9 20:30:58 2025
Stopped: Thu Jan  9 20:31:00 2025
which documentation? given the examples provided by hashcat these hash doesnt fit any of the given examples
HashStrat, try to put your hash into text file and use command with file name instead of hash.
(01-10-2025, 03:53 PM)nick8606 Wrote: [ -> ]HashStrat, try to put your hash into text file and use command with file name instead of hash.

Thanks, this worked. I had trouble with this before.
(01-10-2025, 03:18 PM)Snoopy Wrote: [ -> ]which documentation? given the examples provided by hashcat these hash doesnt fit any of the given examples

I made a mistake--I meant to use the sample hash that is available somewhere on the forum, but what I used was a hash of a wallet I created that is similar to the one I ultimately want to crack.