Is it possible to pipe the output from crunch into hydra ?

I tried this, but it doesn't work:

crunch 1 6 123456 --stdout | hydra -S -l ---------@gmail.com -v -V -e nsr -s 465 smtp.gmail.com smtp

I think, after a few searches, that it's not possible as hydra doesn't read stdin by design, and there are no options to use in order to achieve this.

But it can be a great improvement indeed.


You should be able to use process substitution in bash or zsh, as long as Hydra doesn't need to seek in the password file:

 hydra -S -l ---------@gmail.com -P <(crunch 1 6 123456 --stdout) -v -V -e nsr -s 465 smtp.gmail.com smtp
  • have you tried it, or is this an idea? – schroeder Dec 1 '18 at 8:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.