Hydra, an online brute-force password cracking tool under CentOS

Source: Internet
Author: User
PS: This brute-force password cracking tool is quite powerful and supports online password cracking for almost all protocols. the key to cracking the password is whether the dictionary is powerful enough. Social engineering penetration can sometimes get twice the result with half the effort. This article only explores the test from the security point of view, and uses the content of this article to do the damage, it has nothing to do with me. 1. introduction hydra is an open-source brute-force password cracking tool of thc, a famous hacker organization. it can crack multiple types of passwords online. Official website: http://www.thc.org/thc-hydra, support for AFP,

PS: This brute-force password cracking tool is quite powerful and supports online password cracking for almost all protocols. the key to cracking the password is whether the dictionary is powerful enough. Social engineering penetration can sometimes get twice the result with half the effort. This article only explores the test from the security point of view, and uses the content of this article to do the damage, it has nothing to do with me.

I. INTRODUCTION

Hydra is an open-source brute-force password cracking tool for thc, a famous hacker organization. it can crack multiple types of passwords online.Official website: http://www.thc.org/thc-hydra, support AFP, Cisco AAA, Cisco auth, Cisco enable, CVS, Firebird, FTP, HTTP-FORM-GET, HTTP-FORM-POST, HTTP-GET, HTTP-HEAD, HTTP-PROXY, HTTPS-FORM-GET, HTTPS-FORM-POST, HTTPS-GET, HTTPS-HEAD, HTTP-Proxy, ICQ, IMAP, IRC, LDAP, MS-SQL, MYSQL, NCP, NNTP, OracleListener, Oracle SID, Oracle, PC-Anywhere, PCNFS, POP3, IPVs, RDP, rexec, Rlogin, Rsh, SAP/R3, SIP, SMB, SMTP, SMTP Enum, SNMP, SOCKS5, SSH (v1 and v2), Subversion, Teamspeak (TS2), Telnet, VMware-Auth, VNC and XMPP.

II. Installation

If Debian and Ubuntu are released, hydra is included in the source and can be directly installed online with apt-get:
sudo apt-get install libssl-dev libssh-dev libidn11-dev libpcre3-dev libgtk2.0-dev libmysqlclient-dev libpq-dev libsvn-dev firebird2.1-dev libncp-dev hydra

Download the source code package for Redhat/Fedora release, compile and install it, and first install the relevant dependency package:
yum install openssl-devel pcre-devel ncpfs-devel postgresql-devel libssh-devel subversion-devel

Hydra: http://www.thc.org/releases/hydra-7.3.tar.gz

# tar zxvf hydra-7.0-src.tar.gz
# cd hydra-7.0-src
# ./configure
# make
# make install

Hydra supports GUI, but it is a habit of using commands.

III. parameter description

Hydra [[[-l LOGIN |-l file] [-p PASS |-p file] | [-c file] [-e ns]
[-O FILE] [-t TASKS] [-m file [-t tasks] [-w TIME] [-f] [-s PORT] [-S] [- vV] server service [OPT]
-R continues to crack the previous progress.
-S uses SSL links.
-S PORT can be used to specify non-default ports.
-L LOGIN specifies the target user to crack.
-L file specifies the username Dictionary.
-P PASS is in lowercase and password cracking is specified. password dictionary is generally used.
-P file in uppercase, specifying the password dictionary.
-E ns: optional; n: empty password; s: Use the specified user and password.
-C file uses the colon-separated format, for example, "logon name: Password" to replace the-L/-P parameter.
-M file: specifies one row for the target list FILE.
-O FILE specifies the output FILE.
-F: after the-M parameter is used, stop cracking when the first pair of logon names or passwords is found.
-T number of threads running simultaneously by TASKS. the default value is 16.
-W TIME sets the maximum timeout TIME, in seconds. the default value is 30 s.
-V/-V shows the detailed process.
Target ip address of the server
Service: specifies the service name. Supported services and protocols: telnet ftp pop3 [-ntlm] imap [-ntlm] smb smbnt http-{head | get} http-{get | post}-form http-proxy cisco-enable vnc ldap2 ldap3 mssql mysql oracle-listener IPVs nntp socks5 rexec rlogin pcnfs snmp rsh cvs svn icq sapr3 ssh smtp-auth [-ntlm] pcanywhere teamspeak sip vmauthd firebird ncp afp and so on.
OPT option

IV. Usage examples

Simple demonstration:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.