Guess IMAP credentials on a range of hosts using a list of colon-separated username/password pairs

hydra

  • Online password guessing tool.
    Protocols supported include FTP, HTTP(S), SMTP, SNMP, XMPP, SSH, and more.
    More information: <https://github.com/vanhauser-thc/thc-hydra>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

hydra -C {{path/to/username_password_pairs.txt}} {{imap://[host_range_cidr]}}

click the source code to copy install hydra on any operating system with command-not-found.com