Please note, this is a STATIC archive of website hashcat.net from October 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: custom charset help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
why doesnt this work?

Code:
hashcat -a 3  -m 110 hash -1 !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz --increment --increment-min 4 --increment-max 12 --hex-salt  pass.txt -O 1?1?1?1?1?1?1?1?1?1?1?1

i get an error

bash: !"#: event not found
Some of the characters are interpreted by your command shell - you might have to backslash one or more of the characters that have special meaning in the shell, such as !, $, ', ", etc.

But in your case, you can use an entire character class instead.
?l = all lower-case
?u = all upper-case
?d = all digits
?s = all special
?a = all of the above (all 95 printable ASCII)

So you can use this instead:

Code:
hashcat -a 3  -m 110 hash ?a?a?a?a?a?a?a?a?a?a?a?a --increment --increment-min 4 --increment-max 12 --hex-salt  pass.txt -O

Note, however, that there are a couple of other issues with this command line:

* ?a x12 will not finish any time soon - like, years
* --hex-salt doesn't do anything if you're not specifying a salt to use
ok that worked, thanks

Now i'm getting this error

[font="Noto Mono", Menlo, Monaco, Consolas, monospace]clCreateCommandQueue(): CL_OUT_OF_HOST_MEMORY[/font]

[font="Noto Mono", Menlo, Monaco, Consolas, monospace]any ideas?[/font]

(09-23-2020, 07:30 AM)royce Wrote: [ -> ]Some of the characters are interpreted by your command shell - you might have to backslash one or more of the characters that have special meaning in the shell, such as !, $, ', ", etc.

But in your case, you can use an entire character class instead.
?l = all lower-case
?u = all upper-case
?d = all digits
?s = all special
?a = all of the above (all 95 printable ASCII)

So you can use this instead:

Code:
hashcat -a 3  -m 110 hash ?a?a?a?a?a?a?a?a?a?a?a?a --increment --increment-min 4 --increment-max 12 --hex-salt  pass.txt -O

Note, however, that there are a couple of other issues with this command line:

* ?a x12 will not finish any time soon - like, years
* --hex-salt doesn't do anything if you're not specifying a salt to use
Huh - when I run it, the memory requirement looks pretty small:
Code:
Host memory required for this attack: 228 MB

Also FYI, hashcat will throw an integer overflow for this attack at ?a x10
What is an integer overflow attack and what does it mean?

For some reason when I use the full charset it doesnt run and I get the memory error....



(09-23-2020, 07:53 AM)royce Wrote: [ -> ]Huh - when I run it, the memory requirement looks pretty small:
Code:
Host memory required for this attack: 228 MB

Also FYI, hashcat will throw an integer overflow for this attack at ?a x10