Good morning, below is the issue I have been having and can’t seem to figure it out.
I have followed the directions in this YouTube video https://www.youtube.com/watch?v=J8A8rKFZW-M&t=526s
I searched posts on here for an answer and the only error I found was that I using -m 2500 instead of -m 22000
Any ideas would be greatly appreciated.
Thank you
C:hashcat-6.2.5>hashcat.exe -m 22000 -a3 wpa2.hccapx ?d?d?d?d?d?d?d?d?d
hashcat (v6.2.5) starting
Successfully initialized NVIDIA CUDA 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.
Falling back to OpenCL runtime.
* Device #1: WARNING! Kernel exec timeout is not disabled.
This may cause «CL_OUT_OF_RESOURCES» or related errors.
To disable the timeout, see: https://hashcat.net/q/timeoutpatch
nvmlDeviceGetFanSpeed(): Not Supported
OpenCL API (OpenCL 1.2 CUDA 11.1.114) — Platform #1 [NVIDIA Corporation]
========================================================================
* Device #1: GeForce RTX 2070 with Max-Q Design, 7168/8192 MB (2048 MB allocatable), 36MCU
OpenCL API (OpenCL 2.1 ) — Platform #2 [Intel(R) Corporation]
=============================================================
* Device #2: Intel(R) UHD Graphics, 13024/26135 MB (2047 MB allocatable), 24MCU
Minimum password length supported by kernel: 8
Maximum password length supported by kernel: 63
Hashfile ‘wpa2.hccapx’ on line 1 (HCPX♦): Separator unmatched
Hashfile ‘wpa2.hccapx’ on line 2 (): Separator unmatched
Hashfile ‘wpa2.hccapx’ on line 3 (ä╚Ƶ¼ì=E1│⌡ƒ╩%╗9◄Xzσ╚╡▼░[7┴): Separator unmatched
∩±Zif┘╦ktcÇ↓y): Separator unmatchedc┐♫òíFd‼¬╔
Hashfile ‘wpa2.hccapx’ on line 5 (): Separator unmatched
∩±Zif┘╦ktcÇ↓): Separator unmatchedφc┐♫òíFd‼¬╔
Hashfile ‘wpa2.hccapx’ on line 7 (`U→φ(♀⌐╗▐í-]K░ÿ►E┤Ü↕î7y┌t¥←─_ÿ↕): Separator unmatched
Hashfile ‘wpa2.hccapx’ on line 8 (): Separator unmatched
Hashfile ‘wpa2.hccapx’ on line 9 (`U→φ(♀⌐╗▐í-]K░ÿ►E┤Ü↕î7y┌t¥←─_ÿ↕): Separator unmatched
Hashfile ‘wpa2.hccapx’ on line 10 (): Separator unmatched
Hashfile ‘wpa2.hccapx’ on line 11 (): Separator unmatched
Hashfile ‘wpa2.hccapx’ on line 12 (): Separator unmatched
No hashes loaded.
Started: Fri Jan 07 09:12:39 2022
Stopped: Fri Jan 07 09:12:41 2022
![]()
Posts: 920
Threads: 2
Joined: Jun 2017
01-07-2022, 04:42 PM
(This post was last modified: 01-07-2022, 07:46 PM by ZerBea.)
Hash formats 250x and 1680x are deprecated. Successor is hash mode 22000 which use a new hash format (not longer binary hccapx)
Please read more here:
https://hashcat.net/wiki/doku.php?id=cracking_wpawpa2
here:
https://hashcat.net/forum/thread-10544.h…=separator
here:
https://hashcat.net/forum/thread-10441.h…=separator
or this forum search for hash mode 22000:
https://hashcat.net/forum/search.php?act…order=desc
The online converter moved to the new hash format, too:
https://hashcat.net/cap2hashcat/
and forget all ancient youtube video tutorials.
If you have more questions regarding the new hash format, feel free to ask.
![]()
Posts: 2
Threads: 1
Joined: Jan 2022
Thank you, that info helped me get it running.
I wasn’t sure how to tell if it was using the CPU or GPU. I have an RTX 2070, it took almost an hour to run. The command output said ‘Failed to initialize NVIDIA RTC library.’ Wasn’t sure what that meant.
I found the example hashes page; however, I’m not sure how it works. Is that something I can use to test my system to see if it is set up correctly since my session failed/exhausted without retrieving a password?
Session……….: hashcat
Status………..: Exhausted
Hash.Mode……..: 22000 (WPA-PBKDF2-PMKID+EAPOL)
Hash.Target……: 27279_1641567199.hc22000
Time.Started…..: Fri Jan 07 10:22:11 2022 (46 mins, 56 secs)
Time.Estimated…: Fri Jan 07 11:09:07 2022 (0 secs)
Kernel.Feature…: Pure Kernel
Guess.Mask…….: ?d?d?d?d?d?d?d?d?d [9]
Guess.Queue……: 1/1 (100.00%)
Speed.#1………: 333.2 kH/s (0.75ms) @ Accel:32 Loops:256 Thr:64 Vec:1
Speed.#2………: 7679 H/s (5.96ms) @ Accel:4 Loops:16 Thr:128 Vec:1
Speed.#*………: 340.8 kH/s
Recovered……..: 0/1 (0.00%) Digests
Progress………: 1000000000/1000000000 (100.00%)
Rejected………: 0/1000000000 (0.00%)
Restore.Point….: 99852288/100000000 (99.85%)
Restore.Sub.#1…: Salt:0 Amplifier:9-10 Iteration:0-1
Restore.Sub.#2…: Salt:0 Amplifier:9-10 Iteration:0-1
Candidate.Engine.: Device Generator
Candidates.#1….: 646173973 -> 676464973
Candidates.#2….: 623451649 -> 637893737
Hardware.Mon.#1..: Temp: 65c Util: 0% Core: 900MHz Mem:5409MHz Bus:16
Hardware.Mon.#2..: N/A
Started: Fri Jan 07 10:22:07 2022
Stopped: Fri Jan 07 11:09:09 2022
![]()
Posts: 920
Threads: 2
Joined: Jun 2017
01-08-2022, 09:54 PM
(This post was last modified: 01-09-2022, 10:41 AM by ZerBea.)
I’m glad I could be of help.
The example hashes are useful to test your system, as mentioned here:
https://hashcat.net/forum/thread-10553-p…l#pid54456
Code:
$ hashcat -m 22000 "WPA*01*4d4fe7aac3a2cecab195321ceb99a7d0*fc690c158264*f4747f87f9f4*686173686361742d6573736964***" -a 3 hashcat!
hashcat (v6.2.5-52-g806257f2e) starting
4d4fe7aac3a2cecab195321ceb99a7d0:fc690c158264:f4747f87f9f4:hashcat-essid:hashcat!
Session..........: hashcat
Status...........: Cracked
Hash.Mode........: 22000 (WPA-PBKDF2-PMKID+EAPOL)
Hash.Target......: 4d4fe7aac3a2cecab195321ceb99a7d0:fc690c158264:f4747...-essid
Time.Started.....: Thu Jan 6 07:32:28 2022 (0 secs)
Time.Estimated...: Thu Jan 6 07:32:28 2022 (0 secs)
Kernel.Feature...: Pure Kernel
Guess.Mask.......: hashcat! [8]
Guess.Queue......: 1/1 (100.00%)
Speed.#1.........: 35 H/s (0.74ms) @ Accel:64 Loops:256 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests
Progress.........: 1/1 (100.00%)
Rejected.........: 0/1 (0.00%)
Restore.Point....: 0/1 (0.00%)
Restore.Sub.#1...: Salt:0 Amplifier:0-1 Iteration:0-1
Candidate.Engine.: Device Generator
Candidates.#1....: hashcat! -> hashcat!
Hardware.Mon.#1..: Temp: 32c Util: 7% Core:1770MHz Mem:3500MHz Bus:8
Started: Thu Jan 6 07:32:26 2022
Stopped: Thu Jan 6 07:32:30 2022
To get benefit of CUDA, it is mandatory to install the CUDA SDK toolkit, which is not the case on your system (warning 1)
Additional you have to disable the Kernel exec timeout, which is also not the case on your system (warning 2).
How to do this depend on your operating system. Regarding the screenshots, it looks like you’re running Windows.
I’m on Arch Linux, so I can’t answer this question.
Speed.#1 = your GPU running OpenCL
Speed.#2 = your CPU integrated UHD graphics running OpenCL
hashcat -I option will give you a detailed information (in my case NVIDIA CUDA and OpenCL installed):
Code:
$ hashcat -I
hashcat (v6.2.5-98-g79f3145a4) starting in backend information mode
CUDA Info:
==========
CUDA.Version.: 11.5
Backend Device ID #1 (Alias: #2)
Name...........: NVIDIA GeForce GTX 1080 Ti
Processor(s)...: 28
Clock..........: 1620
Memory.Total...: 11175 MB
Memory.Free....: 5747 MB
Local.Memory...: 48 KB
PCI.Addr.BDFe..: 0000:26:00.0
OpenCL Info:
============
OpenCL Platform ID #1
Vendor..: NVIDIA Corporation
Name....: NVIDIA CUDA
Version.: OpenCL 3.0 CUDA 11.5.103
Backend Device ID #2 (Alias: #1)
Type...........: GPU
Vendor.ID......: 32
Vendor.........: NVIDIA Corporation
Name...........: NVIDIA GeForce GTX 1080 Ti
Version........: OpenCL 3.0 CUDA
Processor(s)...: 28
Clock..........: 1620
Memory.Total...: 11175 MB (limited to 2793 MB allocatable in one block)
Memory.Free....: 5696 MB
Local.Memory...: 48 KB
OpenCL.Version.: OpenCL C 1.2
Driver.Version.: 495.46
PCI.Addr.BDF...: 26:00.0
BTW:
The success rate of hashcat depends on the attack vector and the quality of the dump file. If you received some ERRORs or WARNINGs during conversion of the dump file, it is a good idea to reconsider your attack vector and/or to re-capture the traffic.
I’m trying to crack the password Ul1234 using hashcat. I created a user with that password in kali and copied the hash in the shadow folder:
nils:$6$3q88Up7LX1RFIlRU$gVzo1NvtuV4SmJ2SNv6mcLLc9rWtzNsI6u3TKEkKVXb3gNQKhcK/C6y1DW6q4ODNIJrjf1ondgZ7RHqD7kprI1:18296:0:99999:7:::
So the hash should be :
$6$3q88Up7LX1RFIlRU$gVzo1NvtuV4SmJ2SNv6mcLLc9rWtzNsI6u3TKEkKVXb3gNQKhcK/C6y1DW6q4ODNIJrjf1ondgZ7RHqD7kprI1
i copied the hash into file nils2.txt and typed the following command:
kali@kali:~/Documents$ hashcat -m 1800 -a 3 ?u?l?d?d?d?d -o ans.txt --force nils2.txt
hashcat (v5.1.0) starting...
OpenCL Platform #1: The pocl project
====================================
* Device #1: pthread-Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz, 1024/2955 MB allocatable, 2MCU
Hash '?u?l?d?d?d?d': Separator unmatched
No hashes loaded.
Started: Wed Feb 5 09:08:13 2020
Stopped: Wed Feb 5 09:08:14 2020
I don’t understand why I’m getting an error
![]()
schroeder♦
125k55 gold badges289 silver badges323 bronze badges
asked Feb 5, 2020 at 14:13
1
$6$ is definitely part of the hash. It indicates the hash type (sha512crypt). The $ as field separator is a long-standing hash idiom and is part of many modern password hashes.
Instead, the issue here is that hashcat’s parameters are positional in a way that may not be intuitive. Masks always appear after the target hash or hashfile:
$ hashcat -O -m 1800 -a 3 -o ans.txt nils2.txt ?u?l1234
hashcat (v5.1.0-1651-g050f6b0e) starting...
[snip]
Session..........: hashcat
Status...........: Cracked
Hash.Name........: sha512crypt $6$, SHA512 (Unix)
Hash.Target......: $6$3q88Up7LX1RFIlRU$gVzo1NvtuV4SmJ2SNv6mcLLc9rWtzNs...7kprI1
Time.Started.....: Wed Feb 5 06:11:40 2020 (1 sec)
Time.Estimated...: Wed Feb 5 06:11:41 2020 (0 secs)
Guess.Mask.......: ?u?l1234 [6]
Guess.Queue......: 1/1 (100.00%)
Speed.#1.........: 1265 H/s (0.98ms) @ Accel:64 Loops:256 Thr:1 Vec:2
Recovered........: 1/1 (100.00%) Digests
Progress.........: 650/676 (96.15%)
Rejected.........: 0/650 (0.00%)
Restore.Point....: 0/26 (0.00%)
Restore.Sub.#1...: Salt:0 Amplifier:24-25 Iteration:4864-5000
Candidates.#1....: Ua1234 -> Uq1234
Started: Wed Feb 5 06:11:36 2020
Stopped: Wed Feb 5 06:11:41 2020
$ cat ans.txt
$6$3q88Up7LX1RFIlRU$gVzo1NvtuV4SmJ2SNv6mcLLc9rWtzNsI6u3TKEkKVXb3gNQKhcK/C6y1DW6q4ODNIJrjf1ondgZ7RHqD7kprI1:Ul1234
answered Feb 5, 2020 at 15:13
Royce WilliamsRoyce Williams
9,3081 gold badge32 silver badges55 bronze badges
8
I have error «separator unmatched» when trying to use handshake hccapx with hashcat mode 22000
I generated the file using my own access point.
PS F:hashcat-6.2.4> hashcat -m 22000 capture1.hccapx wordlist.txt
hashcat (v6.2.4) starting
Successfully initialized NVIDIA CUDA library.
* Device #1: CUDA SDK Toolkit not installed or incorrectly installed.
CUDA SDK Toolkit required for proper device support and utilization.
Falling back to OpenCL runtime.
* Device #1: WARNING! Kernel exec timeout is not disabled.
This may cause "CL_OUT_OF_RESOURCES" or related errors.
To disable the timeout, see: https://hashcat.net/q/timeoutpatch
nvmlDeviceGetFanSpeed(): Not Supported
OpenCL API (OpenCL 3.0 CUDA 11.4.125) - Platform #1 [NVIDIA Corporation]
========================================================================
* Device #1: NVIDIA GeForce GTX 1660 Ti, 5376/6144 MB (1536 MB allocatable), 24MCU
OpenCL API (OpenCL 2.1 ) - Platform #2 [Intel(R) Corporation]
=============================================================
* Device #2: Intel(R) UHD Graphics 630, 1568/3214 MB (803 MB allocatable), 24MCU
Minimum password length supported by kernel: 8
Maximum password length supported by kernel: 63
Hashfile 'capture1.hccapx' on line 1 (HCPX♦): Separator unmatched
Hashfile 'capture1.hccapx' on line 2 ("·↑úæF┬m▒∟#◄∟ å/╧èû∞$): Separator unmatched
Hashfile 'capture1.hccapx' on line 3 (): Separator unmatched
No hashes loaded.
Started: Mon Sep 06 12:42:23 2021
Stopped: Mon Sep 06 12:42:24 2021
I am trying to get this hash:
633c097a37b26c0caad3b435b51404e
with the following command:
hashcat -a 0 -m 1800 -o final.txt hash.txt /usr/share/wordlists/rockyou.txt
But it gives me an error saying my separator is unmatched.
I’m new to this so I’m not exactly sure what that means or how I can fix it …
asked Apr 28, 2022 at 3:55
The hash you are trying with is of type MD5, so you have to specify the correct hash type for the hash mode flag -m, which is 0 for the MD5, so it should be -m 0 instead of -m 1800 which is used for sha512crypt $6$, SHA512 (Unix) 2.
Refer to this link from the official documentation of hashcat which provides examples for all the has types.
answered Apr 28, 2022 at 4:07
Moaz El-sawafMoaz El-sawaf
1,8141 gold badge10 silver badges23 bronze badges
D
There is no way to get the original string from the hash. To understand the reason, let’s see how the hash works.Second https://docs.python.org/3/library/functions.html#hash , hash receives an object (any one, not only strings) and returns a number.As there are more possible objects than numbers, there will always be multiple objects (be strings, be any other things) whose hashe values are equal. Example (producing the Python interpreter on my machine):>>> hash(‘a’)
1844645535655954614
>>> hash(1844645535655954614)
1844645535655954614
Obs: The numbers will be different if you run on your machine, more about it at the end of the answer.In the case, we have a string and a number that produce the same value of the hash (I «wrote» a bit passing a number in the second call because I was lazy to look for two different strings that generated the same hash).You could still have a class that returns that same value:class Test:
def __hash__(self):
return 1844645535655954614
print(hash(Test())) # 1844645535655954614
The above code is not a useful implementation, it is only to show that there can be a class that returns the same hash as a string.Therefore, when having only the value of the hash, it is not possible to know whether it came from a string, from a number, or from any other class. The hash is not a reversible value. Even two different strings can generate the same hash (the difficulty of finding them depends on the algorithm, of course).Do not use this for encryptionSecond https://docs.python.org/3/reference/datamodel.html#object.hash , when calling hash(objeto), internally a call is made to objeto.hash(). And about strings, it is worth highlighting this excerpt:By default, the hash() values of str and bytes objects are “salted” with an unpredictable random value. Although they remain constant within an individual Python process, they are not predictable between repeated invocations of Python.This is intended to provide protection against a denial-of-service caused by carefully-chosen inputs that exploit the worst case performance of a dict insertion, O(n^2) complexity. See http://www.ocert.org/advisories/ocert-2011-003.html for details.In free translation:By default, for objects str and bytes, added a Jump random to value hash(). Although this remains constant throughout a Python process, the values are not predictable between repeated Python invocations.This is intentional, to protect against denial of service attacks caused by well-chosen entries that explore the worst case of insertion performance in dictionaries, which is O(n^2). See http://www.ocert.org/advisories/ocert-2011-003.html for more details.About the concept Jump, I suggest https://pt.stackoverflow.com/q/2402/112052 So I said the value of hash(‘a’) that you will get will not necessarily be the same as I got above. Each Python invocation is generated Jump random which is used in hash calculation, and the results will be different. This is not a problem for function purpose hashsince the documentation says that «They are used to quickly compare dictionary keys during a dictionary lookup» (they are used to compare keys to a dictionary during a key search). In this case, collisions (different objects that have the same hash value) are not necessarily a problem (since they are not so frequent) — read more about the subject https://pt.stackoverflow.com/a/27915/112052 .Anyway, as the value of hash(objeto) can vary with each Python execution, it is not a good to use it to the hash of a password, as suggested by https://pt.stackoverflow.com/a/432113/112052 .Let’s assume that first the user registered the password and you saved the hash:hash_senha = hash(senha_que_usuario_cadastrou)
gravar hash_senha
A time later the user enters the password and you compare her hash with what was previously recorded:# obter o hash da senha gravada no passo anterior
hash_senha = …
comparar com o hash da senha que o usuário digitou
if hash_senha == hash(senha_digitada):
# senha ok
But as the value of hash may vary (as explained above), the if above does not guarantee that the hashes will be equal, even if the password is correct (a simple restart on the server, for example, will already cause Jump used be another and the user will no longer log. Or you can give the immense misfortune of a different password to generate a hash equal to that which was recorded in the first step (this is most unlikely, but it is not impossible).If you want to save password hashes, I suggest using the https://docs.python.org/3/library/hashlib.html , which in addition to ensuring that the same string always generates the same hash, still has more suitable algorithms for this purpose (I will not go into more details because I think it already escapes from the scope of the question). Finally, if you want something that is reversible, then you don’t want hash algorithms, and yes https://www.google.com/search?q=encryption+algorithms+in+python .
Why are there a series of technical challenges behind “OMG buy it”>>> ![]()
Working environment: Ubuntu 16.04, NVIDIA graphics card gtx750ti, driver and CUDA have been installed
Recently, when a RAR compressed package was encrypted, it forgot its password and crashed. Fortunately, there is no way out. I searched the Internet for rar files like this, which are encrypted even the file list. It’s relatively difficult to decrypt them. If the file list is not encrypted (that is, you can see the file list when you open it, but you need a password to decompress it, if you want to decrypt this kind of file, you don’t need to look down ), this kind of encrypted rar file is troublesome to decrypt, because you can only write the check code to try to decompress and then compare the file. Fortunately, at that time, for the sake of “safety”, people chose not to see the file list
HashCat
https://github.com/hashcat/hashcat.git
The compilation guidance document is in build.md, and it’s easy to make and compile. After compiling, there will be an executable program of hashcat in the current source code directory
JohnTheRipper
https://github.com/magnumripper/JohnTheRipper.git
Ubuntu16 actually comes with John, but it doesn’t seem to come with rar2john, so I have to compile it myself. In fact, Jhon itself is also a password decryption tool, but here we only use rar2john to extract the encrypted hash of RAR. The compiled guidance document is in Doc/install-ubuntu. The actual compilation is also very smooth. After entering the SRC directory configure, make is OK, just like many open source software. Then you can find rar2john in the run directory
Then I use the RAR command to prepare a test file rar a – HP file.rar test.txt, and input 123 as the password to test the performance of hashcat
Then I use John to extract the encrypted hash of the rar file
rar2john file.rar
file.rar:$RAR3$*0*a64766df3a5c3bc9*0e875d8103a381d7f81a03121c693ef4:0::::file.rar
So far, everything is going well. But when I use hashcat to decrypt, something goes wrong
hashcat -m 12500 -a 3 $RAR3$*0*a64766df3a5c3bc9*0e875d8103a381d7f81a03121c693ef4 ?d?d?d -o out.txt
hashcat (v5.1.0-1671-g1de0857+) starting…
* Device #1: WARNING! Kernel exec timeout is not disabled.
This may cause “CL_ OUT_ OF_ RESOURCES” or related errors.
To disable the timeout, see: https://hashcat.net/q/timeoutpatch
* Device #2: WARNING! Kernel exec timeout is not disabled.
This may cause “CL_ OUT_ OF_ RESOURCES” or related errors.
To disable the timeout, see: https://hashcat.net/q/timeoutpatch
CUDA API (CUDA 9.0)
===================
* Device #1: GeForce GTX 750 Ti, 1554/1992 MB, 5MCU
OpenCL API (OpenCL 1.2 CUDA 9.0.368) – Platform #1 [NVIDIA Corporation]
=======================================================================
* Device #2: GeForce GTX 750 Ti, skipped
Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 256
Hash ‘0*a64766df3a5c3bc9*0e875d8103a381d7f81a03121c693ef4’: Separator unmatched
Yeah?Separator unmatched?
I suspect that the parameter I input is wrong?Theoretically, 12500 corresponds to rar encryption hash. See the official wiki of hashcat
https://hashcat.net/wiki/doku.php?id=example_ hashes
12500 RAR3-hp $RAR3$*0*45109af8ab5f297a*adbf6c5385d7a40373e8f77d7b89d317
I input the example given by the official wiki into my compiled hashcat for decryption, and also report “separator unmatched”. I’m speechless, because according to my experience, hashcat, a mature open source project, won’t have too many problems, unless I’m lucky enough to memorize clone. The latest code is not stable, and it’s more likely that I didn’t find any low-level mistakes in my operation
But after trying several parameter combinations, I still can’t find out the reason. I can only debug hashcat. Hashcat is a C code project. GDB is the first choice for debugging in Linux environment. The executable program I compiled does not have debugging information, so I need to add the – G option when compiling GCC. Originally, I thought that modifying makefile would be a troublesome process. After a simple analysis, I found that makefile supports generating code with debugging information, so I don’t need to modify it by myself. The method is to change debug: = 0 at the beginning of makefile file to debug: = 1
The source code structure of hashcat itself is relatively clear, and it is easy to find the code corresponding to 12500 mode in Src/modules/module_ 12500.c。 The function responsible for parsing is module_ hash_ decode。 However, after some breakpoint debugging, I still don’t quite understand the cause of the error. It seems that a * separator is missing. Until I noticed the hash string passed in:
#0 module_ hash_ decode (hashconfig=0x711360, digest_ buf=0x93a0a0, salt=0x8e45d0, esalt_ buf=0x0,
hook_ salt_ buf=0x0, hash_ info=0x0,
line_ buf=0x7fffffffdf8e “0*45109af8ab5f297a*adbf6c5385d7a40373e8f77d7b89d317*”, line_ len=52)
at src/modules/module_ 12500.c:115
It turns out that the debugging direction I started with was wrong. The line passed in when I called the function_ The content of buf itself is incomplete. Where is the head “$rar3 $”?Or is this normal?So I changed the direction and started to analyze from the outside. I broke the breakpoint directly on the main function and found a problem
(gdb) p argv[3]
$29 = 0x7fffffffdf8e “0*45109af8ab5f297a*adbf6c5385d7a40373e8f77d7b89d317*”
It turns out that there was something wrong with the parameters I passed in… The operation was as fierce as a tiger, and I finally found myself in the middle of the two hundred and five
So, what caused me to enter the program with complete parameter input and the head “$rar3 $” was eaten?I immediately thought of the reason: the information I’m looking for is operated under windows, while under the command line of Linux, $is a special character
I test
Echo “$rar3 $* 0 *”
output results
0*
Echo “ $rar3 $* 0 *”
output results
$RAR3$*0*
So the final solution is obvious. Just add a “” escape, similar to
hashcat -m 12500 -a 3 $RAR3$*0*58c34e824da2ba03*1e760c511a8c6498e32f9514d2ef6764 ?d?d?d?d?d?d -o out.txt
Hashcat in my machine configuration can try an encrypted hash combination of 5K RARs in a second. If it is a pure digital password of 0-9, 3 bits is the third power of 10, and 10 bits is the tenth power of 10. When it comes to such a long number of digits, according to my environment, the decryption speed of 10 ^ 10/5000/60/60/24 in the worst case also needs 20 days
![]()
Posts: 10
Threads: 2
Joined: Nov 2018
Reputation:
0
Trying to crack IKE PSK MD5 (-m 5300)
Client: python 0.3.0 version
OS: Windows 8.1
I got an error «HC error: No hashes loaded»
Here is the debug output:
Quote:[2018-11-07 10:43:25,641] [DEBUG] b'{«action»:»getChunk»,»response»:»SUCCESS»,»status»:»OK»,»chunkId»:3,»skip»:0,»length»:1}’
[2018-11-07 10:43:25,641] [INFO ] Start chunk…
[2018-11-07 10:43:25,643] [DEBUG] CALL: hashcat64.exe —machine-readable —quiet —status —remove —restore-disable —potfile-disable —session=hashtopolis —status-timer 5 —outfile-check-timer=5 —outfile-check-dir=….hashlist_1 -o ….hashlists1.out —outfile-format=15 -p » « —remove-timer=5 -s 0 -l 1 -a 0 ….hashlists1 ….filesmydict.dict —hash-type=5300
[2018-11-07 10:43:25,644] [DEBUG] started cracking
[2018-11-07 10:43:26,814] [ERROR] HC error: No hashes loaded.
[2018-11-07 10:43:26,815] [DEBUG] {‘action’: ‘clientError’, ‘token’: ‘XXXXXXXXXX’, ‘taskId’: 1, ‘message’: ‘No hashes loaded.’}
[2018-11-07 10:43:28,269] [DEBUG] http://server-ip:80 «POST /hashtopolis/api/server.php HTTP/1.1» 200 45
[2018-11-07 10:43:29,350] [DEBUG] b'{«action»:»clientError»,»response»:»SUCCESS»}’
[2018-11-07 10:43:30,452] [INFO ] finished chunk
I think the problem is in -p option with chr(9) value. I tried to run hashcat in manual mode. And if I delete -p option all is OK. But I cant get good result with -p option at all even I changed it’s value.
Thanx for any solution
![]()
Posts: 154
Threads: 6
Joined: Oct 2018
Reputation:
6
The chr(9) character should not be a problem on windows, I tested the client regularly on windows and -p was never an issue. We are using the tab character to avoid all these issues when having separators which are present in hashes.
Did you verify that on the client in the file hashlists/1 there is actually the correct hash? In case there was an error on the download it might be empty.
I will do a test tomorrow and look if there might be a problem with this kind of binary hashes.
![]()
Posts: 10
Threads: 2
Joined: Nov 2018
Reputation:
0
(11-07-2018, 11:26 PM)s3in!c Wrote: The chr(9) character should not be a problem on windows, I tested the client regularly on windows and -p was never an issue. We are using the tab character to avoid all these issues when having separators which are present in hashes.
Did you verify that on the client in the file hashlists/1 there is actually the correct hash? In case there was an error on the download it might be empty.
I will do a test tomorrow and look if there might be a problem with this kind of binary hashes.
I verified the hashlists/1 file first of all. And it had correct hash.
Then I tried to run the same command in command prompt. And until I deleted -p param hashcat had given me the same error
Code:
Hashfile '....hashlists1' on line 1 (e957a6...19a3428d90eb5045363a58dc33f51941): Separator unmatched
No hashes loaded.
I added hash file, dict file and bat file to this post.

Files.zip (Size: 949 bytes / Downloads: 5)
![]()
Posts: 154
Threads: 6
Joined: Oct 2018
Reputation:
6
11-08-2018, 07:48 AM
(This post was last modified: 11-08-2018, 08:25 AM by s3in!c.)
Thanks for the information. Indeed it’s a separator issue, it’s the same reason like for the hash parsing I fixed in this pull request: https://github.com/hashcat/hashcat/pull/1727
But as the hash was in a file, I didn’t check it. I’ll go over all algorithms again and fix the remaining ones and do again a pull request to hashcat.
![]()
Posts: 154
Threads: 6
Joined: Oct 2018
Reputation:
6
The fixed code is now in the hashcat repository: https://github.com/hashcat/hashcat/pull/1770
So either build hashcat from source there or wait until the next beta build or release. With the fix it will work within the hashtopolis agent and not throw anymore the separator unmatched error.
![]()
Posts: 10
Threads: 2
Joined: Nov 2018
Reputation:
0
Thx a lot. It works!
But I got another error: client doesn’t sent cracked hash to his server.
Here is the debug log:
Quote:[2018-11-13 03:47:27,634] [DEBUG] CALL: hashcat64.exe —machine-readable —quiet —status —remove —restore-disable —potfile-disable —session=hashtopolis —status-timer 5 —outfile-check-timer=5 —outfile-check-dir=….hashlist_1 -o ….hashlists1.out —outfile-format=15 -p » » —remove-timer=5 -s 0 -l 1 -a 0 ….hashlists1 ….filesmydict.dict —hash-type=5300
[2018-11-13 03:47:28,288] [DEBUG] started cracking
[2018-11-13 03:47:30,204] [DEBUG] STATUS 6 SPEED 4475 1000 EXEC_RUNTIME 0.029760 CURKU 0 PROGRESS 1 1 RECHASH 1 1 RECSALT 1 1 REJECTED 0 UTIL -1
[2018-11-13 03:47:30,206] [DEBUG] Sending 0 cracks…
STATUS 6 means hashcat has cracked my hash, but the client sends nothing to the server.
Hash, dictionary file are the same.
![]()
Posts: 154
Threads: 6
Joined: Oct 2018
Reputation:
6
I think this is the special case that the hash get cracked so fast that the agent stopped to read the output file too fast. This was a bug in the 0.3.0 client version, if you run a normal task, this should not happen.
I assume that this above is from the test task as the keyspace is only length 1. Please test with a slightly larger task (e.g. taking a few minutes time) if this still happens then. If it works with longer tasks, it’s definitely because of that known bug, in that case you could try with the `current-dev` branch of the client to make sure it is fixed.
![]()
Posts: 10
Threads: 2
Joined: Nov 2018
Reputation:
0
(11-13-2018, 12:38 PM)s3in!c Wrote: I think this is the special case that the hash get cracked so fast that the agent stopped to read the output file too fast. This was a bug in the 0.3.0 client version, if you run a normal task, this should not happen.
I assume that this above is from the test task as the keyspace is only length 1. Please test with a slightly larger task (e.g. taking a few minutes time) if this still happens then. If it works with longer tasks, it’s definitely because of that known bug, in that case you could try with the `current-dev` branch of the client to make sure it is fixed.
I have tested it with ‘current-dev’ branch and all is ok.
Thank you.
MacBook:~ apple$ `hashcat -m 22000 capture.hccapx wordlist.txt`
hashcat (v6.2.5) starting
wordlist.txt: No such file or directory
Started: Thu *** ** 14:36:23 ****
Stopped: Thu ** ** 14:36:23 ****
MacBook:~ apple$ `hashcat -m 22000 -a3 capture.hccapx "?d?d?d?d?d?d?d?d`
hashcat (v6.2.5) starting
* Device #2: This device's local mem size is too small.
OpenCL API (OpenCL 1.2 (May 7 2020 00:10:14)) - Platform #1 [Apple]
====================================================================
* Device #1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2016/4096 MB (512 MB allocatable), 2MCU
* Device #2: GeForce 320M, skipped
Minimum password length supported by kernel: 8
Maximum password length supported by kernel: 63
Hashfile 'capture.hccapx' on line 1 (HCPX): Separator unmatched
Hashfile 'capture.hccapx' on line 2 (): Separator unmatched
Hashfile 'capture.hccapx' on line 3 (): Separator unmatched
Hashfile 'capture.hccapx' on line 4 (): Separator unmatched
Hashfile 'capture.hccapx' on line 5 (): Separator unmatched
Hashfile 'capture.hccapx' on line 6 (????l?"?:9M†N??~Ry): Separator unmatched
Hashfile 'capture.hccapx' on line 7 (): Separator unmatched
Hashfile 'capture.hccapx' on line 8 (????l?"?:9M†N??~R): Separator unmatched
Hashfile 'capture.hccapx' on line 9 (????l?"?:9M†N??~Ry): Separator unmatched
Hashfile 'capture.hccapx' on line 10 (): Separator unmatched
Hashfile 'capture.hccapx' on line 11 (????l?"?:9M†N??~R): Separator unmatched
Hashfile 'capture.hccapx' on line 12 (): Separator unmatched
Hashfile 'capture.hccapx' on line 13 (): Separator unmatched
Hashfile 'capture.hccapx' on line 14 (??my): Separator unmatched
Hashfile 'capture.hccapx' on line 15 (): Separator unmatched
Hashfile 'capture.hccapx' on line 16 (??m): Separator unmatched
Hashfile 'capture.hccapx' on line 17 (??my): Separator unmatched
Hashfile capture.hccapx on line 18 (): Separator unmatched
Hashfile capture.hccapx on line 19 (??m): Separator unmatched
No hashes loaded.
Started: Thu *** ** 14:36:39 ****
Stopped: Thu *** ** 14:36:40 ****
Как исправить этот разделитель несоответствий и wordlist.txt: нет такого файла или каталога?
1 ответ
По какой-то причине Hashcat отказался от исходного метода «-m 2500» для взлома wpa2 и предложил «-m 22000». Я нашел решение, немного погуглив, и в этом вопросе и ответе https ://github.com/risinek/esp32-wifi-penetration-tool/issues/14 они предлагают использовать «-m 2500» и добавить «—deprecated-check-disable» для работы.
0
Pierluigi Imperiale
28 Май 2022 в 23:37