Remember that Linux commands are case sensitive.
Procedure: Compile, install, and launch against the target with the following
syntax:
./hydra
(Target IP or Hostname)
or
./xhydra (To start Hydra in X)
From the directory containing the compressed Hydra files type tar ??“zxvf
hydra-5.0-src.tar.gz.
The files will uncompress into a new directory named hydra-5.0-src.
Change to the new directory by typing cd hydra-5.0-src and pressing Enter.
Hydra needs to be compiled for the specific machine it is on. This is done
by typing ./configure.
Hydra will compile to the specific machine. The next step is to create
Hydra by typing the make command.
Scanning 179
The make command will execute and attempt to create the xhydra for
Linux X.
To start Hydra in X type:
./xhydra
180 Practical Hacking Techniques and Countermeasures
Xhydra will start.
Change the Single target to the new target.
Change the Port from Cisco to 139. (After all, we are looking for SMB
Shares).
Select the Show Attempts and Be Verbose options.
Scanning 181
Select the Passwords tab.
Change the Username to Kermit. (Labs 10 and 11 identified the real
Administrator account as being renamed to Kermit.)
Change the password to either a specific password for the account or in this
case to a password file. There are applications designed to create password
files, but if you need to create one manually simply create a text file in the
directory containing Hydra with passwords containing one password per line.
Pages:
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94