banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành *nix [error] Cài đặt thc-hydra  XML
  [Question]   [error] Cài đặt thc-hydra 16/04/2009 19:57:31 (+0700) | #1 | 177427
rs
Member

[Minus]    0    [Plus]
Joined: 15/07/2008 23:07:11
Messages: 220
Location: YANYM
Offline
[Profile] [PM]
Hi,
Tớ cài gói hydra http://freeworld.thc.org/thc-hydra/, chạy lệnh ./configure

# ./configure

Starting hydra auto configuration ...

Checking for openssl (libssl/ssl.h) ...
... found
Checking for Postgres (libpq) ...
... found
Checking for SVN (ibsvn_client-1 libapr-0.so libaprutil-0.so) ...
... found
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) ...
... found
NOTE: ensure that you have libssh v0.11 installed!! Get it from http://0xbadc0de.be !

Hydra will be installed into .../bin of: /usr/local
(change this by running ./configure --prefix=path)

Writing Makefile.in ...

NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES
=======================================================================
ARM/PalmPilot users: please run ./configure-arm or ./configure-palm respectivly

now type "make"

-->Làm thế nào để giải quyết đoạn lỗi này?
thanks,
[Up] [Print Copy]
  [Question]   Re: [error] Cài đặt thc-hydra 16/04/2009 21:21:45 (+0700) | #2 | 177435
Mr.Khoai
Moderator

Joined: 27/06/2006 01:55:07
Messages: 954
Offline
[Profile] [PM]
rs,

Đó đâu phải là lỗi. Đó chỉ là thông báo không tìm thấy librfc thôi. hydra sẽ vẫn được build và install nếu bạn tiếp tục make, nhưng module sapr3 sẽ không được kích hoạt (không xài được).

Nếu muốn, bạn có thể cài cái librfc rồi configure lại lần nữa.

khoai
[Up] [Print Copy]
  [Question]   Re:[error] Cài đặt thc-hydra 16/04/2009 23:51:45 (+0700) | #3 | 177449
rs
Member

[Minus]    0    [Plus]
Joined: 15/07/2008 23:07:11
Messages: 220
Location: YANYM
Offline
[Profile] [PM]
uhm, tớ nhầm, cái này không phải là lỗi.
chạy make:
Code:
root@ubunt:/hydra# make
cd hydra-gtk && ./make_xhydra.sh
Trying to compile xhydra now (hydra gtk gui) - dont worry if this fails, this is really optional ...
Error: could not compile. Analyse this:
callbacks.c: In function ‘popen_re_unbuffered’:
callbacks.c:532: warning: format not a string literal and no format arguments
callbacks.c: In function ‘on_btnSave_clicked’:
callbacks.c:668: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
In function ‘open’,
    inlined from ‘on_btnSave_clicked’ at callbacks.c:666:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
In function ‘snprintf’,
    inlined from ‘hydra_get_options’ at callbacks.c:247:
/usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer
make[3]: *** [callbacks.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2

Do not worry, as I said, xhydra is really optional. ./hydra is ready to go!

Now type make install

chạy make install:
Code:
root@ubunt:/hydra# make install
test -e hydra.exe && touch Makefile || strip hydra pw-inspector
make: [strip] Error 1 (ignored)
test -e hydra.exe && strip hydra.exe pw-inspector.exe || touch hydra
test -e xhydra && strip xhydra || touch Makefile
test -e hydra.exe && touch Makefile || cp hydra pw-inspector /usr/local/bin && cd /usr/local/bin && chmod 755 hydra pw-inspector
test -e hydra.exe && cp hydra.exe pw-inspector.exe /usr/local/bin && cd /usr/local/bin && chmod 755 hydra.exe pw-inspector.exe || touch Makefile
test -e xhydra && cp xhydra /usr/local/bin && cd /usr/local/bin && chmod 755 xhydra
make: [install] Error 1 (ignored)
root@ubunt:/hydra# ./hydra -h
root@ubunt:/hydra#
Lệnh không ./hydra -h không hiển thị các options?
[Up] [Print Copy]
  [Question]   Re: [error] Cài đặt thc-hydra 19/04/2009 16:48:51 (+0700) | #4 | 177778
Mr.Khoai
Moderator

Joined: 27/06/2006 01:55:07
Messages: 954
Offline
[Profile] [PM]
hm, cái hydra này lạ chỉ, build error từa lưa mà toàn...ignore smilie Bạn coi có file INSTALL hoặc README không? Và xem chúng nói gì. Bạn có thử chạy đỷa từ trong /usr/local/bin/hydra chưa?

khoai
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|