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: How to use named pipe with hashcat?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm trying to use princeprocessor with mask together. While I can get princeprocessor work alone with normal pipe, I can't make it work with named pipe as it seems I can't do stdin with mask. As soon as hashcat reads the pipe, princeprocessor stops working immediately. I read and tried what the Practical PRINCE: 1 CPU + 24 hours = 63% Linkedin hashes cracked, 100% automated post wrote, named pipe without mask and it failed like the previous.

work:
Code:
$ princeprocessor < words_alpha.txt | hashcat -m 10900 -w4 10900.hash

Doesn't work:
Code:
$ mkfifo fifo
$ princeprocessor -o fifo < words_alpha.txt
$ hashcat -m 10900 -w4 10900.hash fifo

what I want to accomplish:
Code:
$ hashcat -a 6 -m 10900 -w4 10900.hash fifo ?u?d?s

Can anyone give me some advice on solving it? Thank you.
the problem with named pipes is that they act like a normal file, but have no "file size", so hashcat will read through all of the input to discover the number of password candidates (or "length") and can't really seek back (that's not allowed with named pipes)..

you could use other techniques like appending with rules etc
Thanks for the advice. I generated the needed rule with maskprocessor thus eliminated the need of named pipe. Still, I wish hashcat can take it as input.