hashcat Forum
increment function: how can i start not from 1? - 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: increment function: how can i start not from 1? (/thread-9433.html)



increment function: how can i start not from 1? - rickopants - 08-02-2020

Hi, i was wondering how can i use the --increment function but to also start from the 3rd character rather than 1 so i could give it for example 10 characters and tell it to use a mask but start from 3 and not from 1 like it usually does :

hashcat -m 0 --increment  hash1.txt  -a 3  ?a?a?a?a?a?a?a?a?a
it will do:
?a
?a?a
?a?a?a
?a?a?a?a
?a?a?a?a?a
?a?a?a?a?a?a
?a?a?a?a?a?a?a
?a?a?a?a?a?a?a?a
 ?a?a?a?a?a?a?a?a?a


where i want it to be like this:
?a?a?a
?a?a?a?a
?a?a?a?a?a
?a?a?a?a?a?a
?a?a?a?a?a?a?a
?a?a?a?a?a?a?a?a
 ?a?a?a?a?a?a?a?a?a



how can i achieve that?


RE: increment function: how can i start not from 1? - philsmd - 08-02-2020

all the necessary information is generally in the --help output:
Code:
--increment-min 3



RE: increment function: how can i start not from 1? - rickopants - 08-02-2020

Thanks, i also had to use -i for it to work and was confused on that:

-i --increment-min 3


RE: increment function: how can i start not from 1? - philsmd - 08-02-2020

yeah, sure, both are needed. --increment just enables the increment feature, while --incement-min and --increment-max are optional command line parameters that allow to set the increment limits.