hashcat Forum
Separator unmatched error - 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: Separator unmatched error (/thread-12489.html)



Separator unmatched error - LeoBarga - 02-01-2025

First of all there is an already existent post about this error but that didn't help me and the situation is quite different. 

I'm currently following a tutorial of someone doing a "Capture the flag" on a VM and i got completely stuck because of a "Seprator unmatched" error. 
Everything i'm doing is on this site (https://www.cybersecurity360.it/cultura-cyber/capture-the-flag-alla-ricerca-di-vulnerabilita-in-sistemi-e-software/), i know the site is not in english but it doesn't really matter, it's just to show the hash since it's public and just for training purpose.

At a certain point of this tutorial you get the hash 000e084XXXXX302eae4559dXXXb520c:0cbb5be2XXX4bed573802eXXXXX9965 (this is masked with the Xs because of forum rules but on the site there is full one). He then proceeds to put it inside a txt file and run this on windows:  
Code:
hashcat-cli64.exe -m 20 -a 0 c:toolsHlegacyHASH_NORTH.txt c:toolswlistrockyou.txt
wich works and returns password "stark". 

I tried to replicate this on linux by running 
Code:
hashcat -m 20 -a 0 myhash.txt common.txt
but i get the separator unmatched error. 

The post about this error that i previously mentioned suggested to:
  • check again for syntax, wich i did (hopefully correctly);
  • making sure the first file is the one containg the hash (wich i did, that file contains one line with the hash and both that file and common.txt are in my pwd just to make sure);
  • check the example_hashes, wich is the only thing that actually gave me some doubts since in the example after the ":" in the hash there are only numbers, no letters. But i'm not sure if that is the problem since by running it on windows like the tutorial did it works fine with that hash.

I'm a beginner and i've really looked everywhere for a solution but i honestly don't know how to proceed, i really can't see what i'm doing wrong with this and the previous post wasn't of any help.
Thank you all in advance.


RE: Separator unmatched error - penguinkeeper - 02-01-2025

Are you sure that `myhash.txt` and your Hashcat executable are in the same folder? Try just adding the hash into the command in-line, like below, to avoid any weird pathing or naming issues
hashcat -m 20 -a 0000e084XXXXX302eae4559dXXXb520c:0cbb5be2XXX4bed573802eXXXXX9965 common.txt


RE: Separator unmatched error - LeoBarga - 02-01-2025

(02-01-2025, 08:49 PM)penguinkeeper Wrote: Are you sure that `myhash.txt` and your Hashcat executable are in the same folder? Try just adding the hash into the command in-line, like below, to avoid any weird pathing or naming issues
hashcat -m 20 -a 0000e084XXXXX302eae4559dXXXb520c:0cbb5be2XXX4bed573802eXXXXX9965 common.txt

Ok this worked, and forgive me if this question is stupid but the txt file with my hash must be in the same folder as the executable? Like, if the executable is in /home/.../hashcat i need to put the hash txt in this same folder? 
While looking for info i never heard of this and it sounds strange that the executable can't detect the hash file unless it is in the same folder but has no problem finding the txt file with all the possible passwords. 

Dont get me wrong, i'm asking this just so i can get a clearer understanding, you already gave me an answer to my problem so i'm not expecting more, thank you really already.


RE: Separator unmatched error - b8vr - 02-03-2025

No, the hash file does not need to be in the same folder. You just need to supply the correct path for it, eg. hashcat -m20 -a0 /path/to/hashfile.txt /path/to/wordlist.txt


RE: Separator unmatched error - LeoBarga - 02-03-2025

(02-03-2025, 01:13 AM)b8vr Wrote: No, the hash file does not need to be in the same folder. You just need to supply the correct path for it, eg. hashcat -m20 -a0 /path/to/hashfile.txt /path/to/wordlist.txt

Ok now it makes sense. I tried doing that but since it had no problem finding the password file without any path i thought it was useless and stopped doing it for the hash file too. It wasn't a very smart choice apparently. 


Thank you very much both for the help, really appreciated Smile