can't make cmd
#1
using ubuntu, can't create command for bruting.

Im tried:

./hashcat-cli64.bin -m 400 -a 0 -ot.txt -p : --username hashes.txt


Get nothing:

Usage: hashcat [options] hashfile [mask|wordfiles|directories]

Try --help for more help.


What I missed?

hashes.txt contains hashes by format username:hashConfusedalt
#2
-a 0 is not for "bruting", nor for mask attack (https://hashcat.net/wiki/doku.php?id=mask_attack)

to use a mask attack and/or brute force a hash you need to use
-a 3

from --help:

* Attack modes:
0 = Straight
...
3 = Brute-force
...

Also you need to specify a mask, so a valid command would be something like this:
./hashcat-cli64.bin -m 400 --username -o t.txt -a 3 --pw-min 7 --pw-max 7 hashes.txt ?a?a?a?a?a?a?a
#3
Hm. I dont see any references to a mask (?a?a?a) in help. I mean how it must be described
#4
But it is clearly there:

* Built-in charsets:

?l = abcdefghijklmnopqrstuvwxyz
?u = ABCDEFGHIJKLMNOPQRSTUVWXYZ
?d = 0123456789
?s = !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
?a = ?l?u?d?s


?a = ?l?u?d?s (lower case, upper case letters, digits and special characters)
#5
line lenght exceptions errors....
#6
look here: https://hashcat.net/wiki/doku.php?id=example_hashes

the signature is either:
$H$.......
or
$P$.......
#7
wiki says for each symbol I need to put one placeholder. am I right? but there is placeholders only for upper case or lower case, so how to make both of them?

and I really dont get what connection between line exception lenght and type of hash
#8
read here: https://hashcat.net/wiki/doku.php?id=mas...m_charsets

you need to define a custom charset like this:
-1 ?u?l ?1?1?1?1?1?1?1

Code:
./hashcat-cli64.bin -m 400 --username -o t.txt -a 3 -1 ?u?l --pw-min 7 --pw-max 7 hashes.txt ?1?1?1?1?1?1?1

All details can be found on the wiki, especially https://hashcat.net/wiki/doku.php?id=mask_attack
#9
I get same error if I wanted to combinator attack. custom charset for what? This is for password, not for hash - am I right?