hashcat Forum
Processing multiple files with hashes - 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: Processing multiple files with hashes (/thread-12004.html)



Processing multiple files with hashes - tao - 05-27-2024

Is it possible to run fully automatic sequential processing of multiple files with hashes? 
Like hashcat -m 16300 hash1.txt->hash200.txt passwords.txt

previous Thread: https://hashcat.net/forum/thread-11981.html


RE: Processing multiple files with hashes - slyexe - 05-28-2024

Using windows or Linux? Can easily create a batch file in windows or any scripting language you're familiar with linux.


RE: Processing multiple files with hashes - tao - 05-28-2024

(05-28-2024, 02:56 AM)slyexe Wrote: Using windows or Linux? Can easily create a batch file in windows or any scripting language you're familiar with linux.

Thanks for your reply.
OK. That is, only by external means (additional batch script)? Is there no such functionality inside the Hashcat? Is there a recommended script code (Windows or Linux)?


RE: Processing multiple files with hashes - CmdFlaz - 05-28-2024

(05-28-2024, 09:23 AM)tao Wrote:
(05-28-2024, 02:56 AM)slyexe Wrote: Using windows or Linux? Can easily create a batch file in windows or any scripting language you're familiar with linux.

Thanks for your reply.
OK. That is, only by external means (additional batch script)? Is there no such functionality inside the Hashcat? Is there a recommended script code (Windows or Linux)?

Heres one for Linux I use,

vim batcher.sh
Insert
Code:
#!/bin/bash
hashcat -m 0 -a 0 hash password -w 4 -O
hashcat -m 0 -a 0 hash1 password -w 4 -O
hashcat -m 0 -a 0 hash2 password -w 4 -O
hashcat -m 0 -a 0 hash3 password -w 4 -O
Esc
:x
chmod +x batcher.sh
./batcher.sh


RE: Processing multiple files with hashes - tao - 05-28-2024

Thanks for your reply.


RE: Processing multiple files with hashes - tao - 05-29-2024

(05-28-2024, 09:41 AM)CmdFlaz Wrote:
(05-28-2024, 09:23 AM)tao Wrote:
(05-28-2024, 02:56 AM)slyexe Wrote: Using windows or Linux? Can easily create a batch file in windows or any scripting language you're familiar with linux.

Thanks for your reply.
OK. That is, only by external means (additional batch script)? Is there no such functionality inside the Hashcat? Is there a recommended script code (Windows or Linux)?

Heres one for Linux I use,

vim batcher.sh
Insert
Code:
#!/bin/bash
hashcat -m 0 -a 0 hash password -w 4 -O
hashcat -m 0 -a 0 hash1 password -w 4 -O
hashcat -m 0 -a 0 hash2 password -w 4 -O
hashcat -m 0 -a 0 hash3 password -w 4 -O
Esc
:x
chmod +x batcher.sh
./batcher.sh

eh, this is very slow... while at each launch all checks and tests will pass, the file with passwords will be processed and work will finally begin... this increases the processing time several times.


RE: Processing multiple files with hashes - tao - 05-30-2024

maybe not sequentially? Is there a way to run multiple copies of the program in parallel with different hash files?


RE: Processing multiple files with hashes - protonking - 06-03-2024

(05-30-2024, 02:48 PM)tao Wrote: maybe not sequentially? Is there a way to run multiple copies of the program in parallel with different hash files?

I dont understand why this would make sense to do even be doing. Add some context to why you need to do this, and you may be shocked by how simple life can become..

As i understand your topic, you want to run the same mode, but with different hashes? add them all in the same file.? You can setup enviroments where you can cluster multiple gpu to target the same hashes, or different hashes and modes.


RE: Processing multiple files with hashes - tao - 06-03-2024

(06-03-2024, 07:16 AM)protonking Wrote: As i understand your topic, you want to run the same mode, but with different hashes? add them all in the same file.? You can setup enviroments where you can cluster multiple gpu to target the same hashes, or different hashes and modes.

Right. I need to check many (thousands) of hashes with the same password dictionary.
I could probably make a dozen containers in the proxmox and run dozen hashcat on the same gpu. But again, we are talking about thousands of hashes. In this case, any manual work becomes meaningless.


RE: Processing multiple files with hashes - CmdFlaz - 06-04-2024

(05-29-2024, 08:15 PM)tao Wrote:
(05-28-2024, 09:41 AM)CmdFlaz Wrote:
(05-28-2024, 09:23 AM)tao Wrote:
(05-28-2024, 02:56 AM)slyexe Wrote: Using windows or Linux? Can easily create a batch file in windows or any scripting language you're familiar with linux.

Thanks for your reply.
OK. That is, only by external means (additional batch script)? Is there no such functionality inside the Hashcat? Is there a recommended script code (Windows or Linux)?

Heres one for Linux I use,

vim batcher.sh
Insert
Code:
#!/bin/bash
hashcat -m 0 -a 0 hash password -w 4 -O
hashcat -m 0 -a 0 hash1 password -w 4 -O
hashcat -m 0 -a 0 hash2 password -w 4 -O
hashcat -m 0 -a 0 hash3 password -w 4 -O
Esc
:x
chmod +x batcher.sh
./batcher.sh

eh, this is very slow... while at each launch all checks and tests will pass, the file with passwords will be processed and work will finally begin... this increases the processing time several times.

Have you tried adding -S instead of -O that makes a difference sometimes depending on hash/size of rule/wordlist