11-08-2013, 07:19 PM
(11-08-2013, 07:16 PM)philsmd Wrote: In cases like this I normally just add a "echo" before the actual command (like echo ./hashcat-0.46 and you will see what is going on)...
do you mean to print the command out to see the problem? When I printed it out, then copy n paste the echoed command to command line, it still works. this is the most confusing part.
(11-08-2013, 07:16 PM)philsmd Wrote: also I normally prefer the:
while read line
do
// ... something with the line
done < $1
but it depends from case to case
The reason I use for loop because while seems not wait each execute before looping the next, thusly I cannot perform my masks one by one (using while loop they seems to be messed with each other and some of them will not get executed).