hashcat Forum
Example Hcmask Explained - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: General Help (https://hashcat.net/forum/forum-8.html)
+--- Thread: Example Hcmask Explained (/thread-4658.html)



Example Hcmask Explained - Flyinghaggis - 09-05-2015

Hi

can someone explain to me the use of comma in

?d?l,test?1?1?1
abcdef,0123,ABC,789,?3?3?3?1?1?1?1?2?2?4?4?4?4
company?d?d?d?d?d
?l?l?l?l?d?d?d?d?d?d

From https://hashcat.net/wiki/doku.php?id=mask_attack

what is the likely output?

I may have worked it out - is it to perform several attacks from the same line of code?

Rab.


RE: Example Hcmask Explained - rico - 09-05-2015

I'm no expert but it seems to be just shorthand for defining custom charsets and how they're used in a mask all on one line.

So this:
?d?l,test?1?1?1

is the same as using this in the command line:

-custom-charset1 ?d?l test?1?1?1

And this:
abcdef,0123,ABC,789,?3?3?3?1?1?1?1?2?2?4?4?4?4

would be this:
-1 abcdef -2 0123 -3 ABC -4 789 ?3?3?3?1?1?1?1?2?2?4?4?4?4  


Er, I think.


RE: Example Hcmask Explained - epixoip - 09-05-2015

The answer is right there on the page,

Quote:The general format of 1 single line in the .hcmask file is as follows:
[?1],[?2],[?3],[?4],[mask]



RE: Example Hcmask Explained - Flyinghaggis - 09-05-2015

Deleted...

Have managed to work it out no thanks to epixoip just got to learn to implement it.

Rab.