Stdin mode is inconsistent with file mode
Author: nesatiCreated May 2, 2026Updated Sep 22, 2026
Labelsbug
Describe the bug
Hashcat outputs different cadidates in stdin mode compared to a regular file wordlist.
To Reproduce
Create the wordlist:
echo -e "a\x00a" > /tmp/word.txtCheck file mode:
hashcat --stdout /tmp/word.txt | xxdOutputs:
00000000: 6100 610a a.a.Check stdin mode:
hashcat --stdout < /tmp/word.txt | xxdOutputs:
00000000: 610a a.This difference is also apparent when cracking.
Not recovered:
hashcat -m 0 '8fb439592e7df2421a02b25f2a43f38b' < /tmp/word.txtRecoverd:
hashcat -m 0 '8fb439592e7df2421a02b25f2a43f38b' /tmp/word.txtExpected behavior
I expect both modes to produce the same candidates and crack the same hashes.
Hashcat version:
- OS: Linux
- Distribution: Manjaro
- Version: 7.1.2
Additional context
I have tried to work around this issue using named pipes, but they are not supported.
I have found a workaround for this issue using the --hex-wordlist flag:
echo "610061" | hashcat --stdout --hex-wordlist | xxd Outputs:
00000000: 6100 610a a.a.Source: hashcat/hashcat