Problem with STDIN - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html) +--- Forum: General Help (https://hashcat.net/forum/forum-8.html) +--- Thread: Problem with STDIN (/thread-2722.html) |
Problem with STDIN - Firebug24k - 10-18-2013 I'm writing a program that launches hashcat as a subprocess that redirects STDIN and STDOUT to files, but now upon launch I always get: stdin: Bad file descriptor Here's the complete output: Code: oclHashcat-plus v0.15 by atom starting... Is there any workaround for this? I don't know exactly what hashcat is trying to do with STDIN so I can't tell what I'm doing wrong on my side. RE: Problem with STDIN - radix - 10-18-2013 whats the command line you are running? RE: Problem with STDIN - Firebug24k - 10-19-2013 hc -m 0 -a 3 -i -1 0123456789 hashes ?1?1?1?1?1?1?1?1?1?1 It works fine when I type it into a command line directly, but not when launched from the wrapper app. To be clear, the wrapper app does not create a handle to STDIN - I think that's the problem. Is there any way to stop hashcat from looking for a STDIN handle? I tried --quiet but that didn't help. RE: Problem with STDIN - atom - 10-22-2013 What you mean by not looking for a STDIN handle? If we want to read from it, it must be opened. |