Trying to create a job with a mask that contains a custom-charset variable ends with a "Wrong mask" error, and the mask input field on the Add Job page also shows that the mask is supposedly incorrect.
Moreover, masks that contain the escape sequence for the question-mark sequence (??) are also rejected.
It seems that the new regex introduced in the process of fixing issue #74 (3ef5abd9dea11392a16e5f35f38cc294c8d38476) is causing the issues; it now rejects too much.
It should be noted, that my proposed regex (PR #75), which was not accepted as the fix for issue #74, would not have these problems.
How to reproduce
Go to Add Job and select the Brute-Force Mode
Select a custom charset
Try inputting the mask ?1 (or ?? to see the other bug described).
The mask input field will show that the mask is invalid
Try to create the job
Job will not be created and a "Wrong mask" error will be shown
Hi,
Trying to create a job with a mask that contains a custom-charset variable ends with a "Wrong mask" error, and the mask input field on the Add Job page also shows that the mask is supposedly incorrect.
Moreover, masks that contain the escape sequence for the question-mark sequence (
??
) are also rejected.It seems that the new regex introduced in the process of fixing issue #74 (3ef5abd9dea11392a16e5f35f38cc294c8d38476) is causing the issues; it now rejects too much.
It should be noted, that my proposed regex (PR #75), which was not accepted as the fix for issue #74, would not have these problems.
How to reproduce
?1
(or??
to see the other bug described).