Docker as in-line generator for hashcat
#1
Some of the rather interesting password analysis and generation projects out there end up having widely varying and potentially conflicting requirements and dependencies. Usually this is the perfect situation to cram the problem into a container.

In my experience, hashcat plays really well with external programs, but I have no idea how the usual stdin interface might act in the case of a container.

Anyone have experience using the output from a container as input to hashcat? Hints or tips through the fields of pain?
Reply
#2
Followup:

It seems to work just fine, BUT, whatever I was doing was causing the console output formatting to go totally nuts.

To get around that (and avoid the hellaciously long and complicated single-line command) I used a named pipe in a directory passed into the container, then just cat the pipe into hashcat in another tmux session.
Reply