Duplicated mask
#1
Hello, everyone!
Sometimes, when building masks from 5-6-7-8 parameters (xx, ?1...), the hash key combines these passwords into a single set.
Each mask is on a new line. There are no extra spaces.
If you split these rules into different files, everything works correctly.

Code:
Pp,@aA,Ss,Ww,0oO,Rr,Dd,Mm,?8?5?7?1?2?3?3?4?5?6?7
Pp,@aA,Ss,Ww,0oO,Rr,Dd,Mm,?8?5?7?1?2?3?3?4?5?6?7?s
Pp,@aA,Ss,Ww,0oO,Rr,Dd,Mm,?8?5?7?1?2?3?3?4?5?6?7?d

Code:
Guess.Mask.......: ?8?5?7?1?2?3?3?4?5?6?7?8?5?7?1?2?3?3?4?5?6?7?s [23]
[code]Candidates.#01...: ModpASswOrdmODPassw0RD" -> M0dPaSsw0RDMOdP@ssw0RD"

Code:
Guess.Charset....: -1 Pp, -2 @aA, -3 Ss, -4 Ww, -5 0oO, -6 Rr, -7 Dd, -8 Mm

Can you tell me what the problem is?
Reply
#2
Obviously it means hashcat does not recognizes your line endings.
Perhaps use a editor like Notepad++ or any other capable editor, enable "show line endings" to see what line endings you are using in your mask file:
* CR LF (Carriage Return + Line Feed, used in Windows), editor will show '\r\n' at the end of your lines
* LF (Line Feed, used in Unix and Linux), editor will show '\n' at the end of your lines
* CR (Carriage Return, historically used in older Mac systems) editor will show '\r' at the end of your lines

Now try replacing the line ending to any other type and I would very much expect this to fix your issue. Although I do not know the cause, probably you generated a mask file with a different line ending than hashcat is expecting.
Reply
#3
(Yesterday, 10:21 AM)monyanus Wrote: Obviously it means hashcat does not recognizes your line endings.
Perhaps use a editor like Notepad++ or any other capable editor, enable "show line endings" to see what line endings you are using in your mask file:
* CR LF (Carriage Return + Line Feed, used in Windows), editor will show '\r\n' at the end of your lines
* LF (Line Feed, used in Unix and Linux), editor will show '\n' at the end of your lines
* CR (Carriage Return, historically used in older Mac systems) editor will show '\r' at the end of your lines

Now try replacing the line ending to any other type and I would very much expect this to fix your issue. Although I do not know the cause, probably you generated a mask file with a different line ending than hashcat is expecting.

I created the masks in Notepad++.
I took the files from the “masks” folder and copied them.

I checked the file just now, and there is “CR LF” at the end of each line.

I have an idea. Perhaps the problem is in the set of parameters. If they are repeated and there are more than 7 in one mask, for some reason it combines them.
Reply
#4
If you encounter this problem, use a maximum of 7 parameters. I haven't found any other solution.
Reply