]> git.pld-linux.org Git - packages/depant.git/blob - depant.spec
BR: rpmbuild(macros) >= 1.710
[packages/depant.git] / depant.spec
1 Summary:        (DE)fault (PA)ssword (N)etwork (T)ool
2 Summary(pl.UTF-8):      Narzędzie do sprawdzania haseł w sieci
3 Name:           depant
4 Version:        0.3a
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications/Console
8 Source0:        http://midnightresearch.com/local/packages/depant/%{name}-%{version}.tgz
9 # Source0-md5:  d1f7af5228436ff1d3816dffd1f2e458
10 URL:            http://midnightresearch.com/
11 BuildRequires:  rpmbuild(macros) >= 1.710
12 BuildRequires:  python >= 1:2.5
13 BuildRequires:  python-setuptools
14 Requires:       hydra >= 5.4
15 Requires:       python-ipcalc
16 Requires:       nmap
17 %pyrequires_eq  python-libs
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Depant works by downloading a default password list, and then mapping
23 out the local network to see what open services are available. Once it
24 has a list of services, it will test each service for default
25 passwords. Once it’s gone through each of the services, depant will
26 determine the fastest service (as recorded in phase one) and use it to
27 perform an optional second phase of tests with a larger
28 (user-supplied) set of default users/passwords.
29
30 %description -l pl.UTF-8
31 Depant działa w ten sposób, że pobiera listę domyślnych haseł, a potem
32 skanuje sieć w poszukiwaniu uruchomionych usług. Po zakończeniu
33 poszukiwań każdy znaleziony serwis jest sprawdzany pod kątem
34 występowania domyślnych haseł. W czasie trwania tej fazy depant
35 określa również, która usługa jest najszybsza i na tej podstawie
36 możliwe jest opcjonalne przeprowadzenie fazy drugiej gdzie dany serwis
37 jest sprawdzany pod kątem haseł dostarczonych przez użytkownika.
38
39 %prep
40 %setup -q -n %{name}
41
42 %build
43 %py_build
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 %py_install \
48         --prefix=%{_prefix} \
49         --install-scripts=%{_bindir} \
50         --root=$RPM_BUILD_ROOT
51
52 %py_postclean
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc INSTALL LICENSE README
60 %attr(755,root,root) %{_bindir}/depant
61 %{py_sitescriptdir}/depant
62 %{py_sitescriptdir}/Depant-*.egg-info
This page took 0.071216 seconds and 3 git commands to generate.