]>
Commit | Line | Data |
---|---|---|
66431203 | 1 | # |
2 | # TODO: - add subversion support | |
3 | # | |
83491320 | 4 | Summary: Parallized network authentication cracker |
d93a5755 | 5 | Summary(pl.UTF-8): Zrównoleglony łamacz uwierzytelnień sieciowych |
83491320 | 6 | Name: hydra |
fde79229 | 7 | Version: 8.6 |
4448eccb | 8 | Release: 2 |
83491320 | 9 | License: GPL |
10 | Group: Networking | |
f8ae1b45 JR |
11 | #Source0: https://github.com/vanhauser-thc/THC-Archive/blob/master/Tools/%{name}-%{version}.tar.gz?raw=true |
12 | Source0: %{name}-%{version}.tar.gz | |
fde79229 | 13 | # Source0-md5: 5d909cfea627a1f2482b82dfbd64956c |
83491320 | 14 | Patch0: %{name}-nonsl.patch |
c1c21393 | 15 | URL: http://www.thc.org/thc-hydra/ |
38b011cc | 16 | BuildRequires: gtk+2-devel |
eda65226 | 17 | BuildRequires: libssh2-devel |
4e358e4b | 18 | BuildRequires: openssl-devel >= 0.9.7d |
c3655ab6 | 19 | BuildRequires: pkgconfig |
66431203 | 20 | BuildRequires: postgresql-devel |
83491320 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | This tool allows for rapid dictionary attacks against network login | |
955032e9 | 25 | systems, including FTP, POP3, IMAP, Netbios, Telnet, HTTP Auth, LDAP, |
83491320 | 26 | NNTP, VNC, ICQ, Socks5, PCNFS, and more. |
27 | ||
eef7e5dc JR |
28 | %description -l pl.UTF-8 |
29 | To narzędzie pozwala na szybkie ataki słownikowe przeciwko sieciowym | |
30 | systemom logowania, włączając w to FTP, POP3, IMAP, Netbios, Telnet, | |
955032e9 JB |
31 | HTTP Auth, LDAP, NNTP, VNC, ICQ, Socks5, PCNFS i inne. |
32 | ||
caaf3f52 | 33 | %package xhydra |
e682cb87 | 34 | Summary: GTK+ version of hydra |
d93a5755 | 35 | Summary(pl.UTF-8): Wersja GTK+ programu hydra |
caaf3f52 | 36 | Group: Networking |
6db439fe | 37 | Requires: hydra |
caaf3f52 | 38 | |
39 | %description xhydra | |
e682cb87 | 40 | GTK+ version of hydra. |
caaf3f52 | 41 | |
eef7e5dc | 42 | %description xhydra -l pl.UTF-8 |
e682cb87 | 43 | Wersja GTK+ programu hydra. |
caaf3f52 | 44 | |
83491320 | 45 | %prep |
91f26c8b | 46 | %setup -q |
83491320 | 47 | %patch0 -p1 |
48 | ||
49 | %build | |
50 | %configure | |
38b011cc | 51 | %{__make} \ |
91f26c8b | 52 | CC="%{__cc}" |
83491320 | 53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
91f26c8b | 56 | install -d $RPM_BUILD_ROOT%{_bindir} |
83491320 | 57 | |
91f26c8b | 58 | install dpl4hydra.sh hydra pw-inspector xhydra $RPM_BUILD_ROOT%{_bindir} |
83491320 | 59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
91f26c8b PG |
65 | %doc CHANGES LICENSE README |
66 | %attr(755,root,root) %{_bindir}/hydra | |
67 | %attr(755,root,root) %{_bindir}/dpl4hydra.sh | |
66431203 | 68 | %attr(755,root,root) %{_bindir}/pw-inspector |
caaf3f52 | 69 | |
70 | %files xhydra | |
e682cb87 | 71 | %defattr(644,root,root,755) |
caaf3f52 | 72 | %attr(755,root,root) %{_bindir}/xhydra |