Doesn't find plain SHA-256 hashes in dictionary
#1
Hashcat doesn't find the plain hashes in a list.

PC: Ubuntu 18.04 bionic, Quadro K1000M

The test is done with this

Code:
#!/bin/bash COMMON='asdf qwerty password 1234 12345 123456 Password 12345678 letmein football iloveyou' for pass in $COMMON; do echo "$pass" >> basic_dict echo $pass | openssl dgst -sha256 | awk '{print $2}' >> hashes done



Code:
./hashcat64.bin -m 1400 hashes basic_dict


Code:
Session..........: hashcat                        Status...........: Exhausted Hash.Type........: SHA-256 Hash.Target......: hashes Time.Started.....: Sat Oct 13 12:51:14 2018 (0 secs) Time.Estimated...: Sat Oct 13 12:51:14 2018 (0 secs) Guess.Base.......: File (basic_dict) Guess.Queue......: 1/1 (100.00%) Speed.Dev.#1.....:    29060 H/s (0.10ms) @ Accel:32 Loops:1 Thr:1024 Vec:1 Recovered........: 0/11 (0.00%) Digests, 0/1 (0.00%) Salts Progress.........: 11/11 (100.00%) Rejected.........: 0/11 (0.00%) Restore.Point....: 11/11 (100.00%) Candidates.#1....: asdf -> iloveyou HWMon.Dev.#1.....: Temp: 48c Util: 52% Core: 850MHz Mem: 900MHz Bus:16

I tried with brute-force too, and it doesn't find them.
#2
You need to create the hashes correctly, see https://hashcat.net/wiki/doku.php?id=fre...o_crack_it

if you create a hash from a password with appended new lines, it only will be cracked if you also crack it by adding new lines (it's as simple as this)
#3
I should have read a tutorial about how to make test hashes for cracking.

Thanks!
#4
Rookie error, using 'echo' instead of 'echo -n'