0

I have the following command:

patator ssh_login host=<ip> port=<port> user=<user> password=FILE0 0=<path to pwdlist> 

I would like to output the success result only and not output every attempt. Is this possible?

My first attempt was:

patator ssh_login host=<ip> port=<port> user=<user> password=FILE0 0=<path to pwdlist> | grep "INFO - 0" 

but that didn't work.

Can anyone assist.

  • the additional switch -x ignore:mesg='Authentication failed', as listed in the patator help, does not work for you? – lab9 Aug 8 at 20:18
0

Is there a reason you're tied to patator? It looked like the --allow-ignore-failures may help but I just ran it and it didn't suppress failed attempts. I would use hydra as it's a lot simpler. This should work for you:

hydra -l <user> -P <password-list-file> ssh://target

(Hydra was quick answer -- hopefully I can play around with patator later and give an answer for that too...)

| improve this answer | |
  • I am using hydra more often as I agree with you on its simplicity. Just trying to get my hands dirty on other tools as well. Appreciate the command. – Zora Mar 28 at 22:28

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.