11-08-2013, 06:55 PM
(This post was last modified: 11-08-2013, 06:56 PM by honglonglong.)
Hi,
I am trying to perform mask attack with different mask configurations that are predefined in a file. I read each line of that file using shell script and execute hashcat-cli32.bin.
However, some of configs that I read from file, though works if I issue them directly from command line, do not work if I read them from file.
For example this one:
When reading from file it says:
Which I think suggesting I used a wrong format. when in terminal it works fine.
What I do in script is to read "--pw-min 4 ?l?l?d?d" part from file and concatenate it with the first part, which is the same all the time. I just want to try different mask strategies.
Any suggestion? thanks!
I am trying to perform mask attack with different mask configurations that are predefined in a file. I read each line of that file using shell script and execute hashcat-cli32.bin.
However, some of configs that I read from file, though works if I issue them directly from command line, do not work if I read them from file.
For example this one:
Code:
./hashcat-0.46/hashcat-cli32.bin -m 0 -a 3 --disable-potfile --outfile-format=1 -o cracked.dic hashed.txt --pw-min 4 ?l?l?d?d
When reading from file it says:
Code:
Usage: hashcat [options] hashfile [mask|wordfiles|directories]
Try --help for more help.
Which I think suggesting I used a wrong format. when in terminal it works fine.
What I do in script is to read "--pw-min 4 ?l?l?d?d" part from file and concatenate it with the first part, which is the same all the time. I just want to try different mask strategies.
Any suggestion? thanks!