hashcat Forum
Run commands after one another. - 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: Run commands after one another. (/thread-11901.html)



Run commands after one another. - Jajhaj - 04-09-2024

Is there a way to run commands after one is done in cmd?

If I have multiple commands-

Hashcat.exe -d 1 -m 101 -w 4 hash.hash C:\words
Hashcat.exe -d 1 -m 949 -w 4 hash2.hash C:\list
Hashcat.exe -d 1 -m 555 -w 4 hash3.hash C:\text

How do I run them consecutively instead of waiting for one to finish and manually running it?


RE: Run commands after one another. - Snoopy - 04-09-2024

take a look at windows batchfiles

more or less simple like, take a file, copy these three lines into it, store it as run.bat and then call run.bat from commandline


RE: Run commands after one another. - CmdFlaz - 04-15-2024

If your on windows you can group multiple commands in the CMD using the ; symbol

example:
Hashcat.exe -d 1 -m 101 -w 4 hash.hash C:\words ; Hashcat.exe -d 1 -m 949 -w 4 hash2.hash C:\list ; Hashcat.exe -d 1 -m 555 -w 4 hash3.hash C:\text