e5ec7df12a
- Avoid opportunity for DoS in tabular data stream protocol handler - Added a memset in msgsnarf to correctly 0 out the C struct - Patched urlsnarf to use timestamps from pcap file if available
173 lines
5.7 KiB
RPMSpec
173 lines
5.7 KiB
RPMSpec
Summary: Tools for network auditing and penetration testing
|
|
Name: dsniff
|
|
Version: 2.4
|
|
Release: 0.14.b1%{?dist}
|
|
License: BSD
|
|
Group: Applications/Internet
|
|
URL: http://www.monkey.org/~dugsong/%{name}/
|
|
Source: http://www.monkey.org/~dugsong/%{name}/beta/%{name}-%{version}b1.tar.gz
|
|
Patch0: dsniff-2.4-time_h.patch
|
|
Patch1: dsniff-2.4-mailsnarf_corrupt.patch
|
|
Patch2: dsniff-2.4-pcap_read_dump.patch
|
|
Patch3: dsniff-2.4-multiple_intf.patch
|
|
Patch4: dsniff-2.4-amd64_fix.patch
|
|
Patch5: dsniff-2.4-urlsnarf_zeropad.patch
|
|
Patch6: dsniff-2.4-libnet_11.patch
|
|
Patch7: dsniff-2.4-checksum.patch
|
|
Patch8: dsniff-2.4-openssl_098.patch
|
|
Patch9: dsniff-2.4-sshcrypto.patch
|
|
Patch10: dsniff-2.4-sysconf_clocks.patch
|
|
Patch11: dsniff-2.4-urlsnarf_escape.patch
|
|
Patch12: dsniff-2.4-string_header.patch
|
|
Patch13: dsniff-2.4-arpa_inet_header.patch
|
|
Patch14: dsniff-2.4-pop_with_version.patch
|
|
Patch15: dsniff-2.4-obsolete_time.patch
|
|
Patch16: dsniff-2.4-checksum_libnids.patch
|
|
Patch17: dsniff-2.4-fedora_dirs.patch
|
|
Patch18: dsniff-2.4-glib2.patch
|
|
Patch19: dsniff-2.4-link_layer_offset.patch
|
|
Patch20: dsniff-2.4-tds_decoder.patch
|
|
Patch21: dsniff-2.4-msgsnarf_segfault.patch
|
|
Patch22: dsniff-2.4-urlsnarf_timestamp.patch
|
|
BuildRequires: libnet-devel, openssl-devel, libnids-devel, glib2-devel, %{_includedir}/pcap.h
|
|
%if 0%{?rhel}%{?fedora} > 6
|
|
BuildRequires: libdb-devel
|
|
%else
|
|
BuildRequires: db4-devel
|
|
%endif
|
|
%if 0%{?rhel}%{?fedora} >= 5
|
|
BuildRequires: libXmu-devel
|
|
%else
|
|
BuildRequires: xorg-x11-devel
|
|
%endif
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
%description
|
|
A collection of tools for network auditing and penetration testing. Dsniff,
|
|
filesnarf, mailsnarf, msgsnarf, urlsnarf and webspy allow to passively monitor
|
|
a network for interesting data (passwords, e-mail, files). Arpspoof, dnsspoof
|
|
and macof facilitate the interception of network traffic normally unavailable
|
|
to an attacker (e.g, due to layer-2 switching). Sshmitm and webmitm implement
|
|
active monkey-in-the-middle attacks against redirected SSH and HTTPS sessions
|
|
by exploiting weak bindings in ad-hoc PKI.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .time_h
|
|
%patch1 -p1 -b .mailsnarf
|
|
%patch2 -p1 -b .pcap_dump
|
|
%patch3 -p1 -b .multiple_intf
|
|
%patch4 -p1 -b .amd64_fix
|
|
%patch5 -p1 -b .urlsnarf_zeropad
|
|
%patch6 -p1 -b .libnet_11
|
|
%patch7 -p1 -b .checksum
|
|
%patch8 -p1 -b .openssl_098
|
|
%patch9 -p1 -b .sshcrypto
|
|
%if 0%{?rhel}%{?fedora} >= 5
|
|
%patch10 -p1 -b .sysconf_clocks
|
|
%endif
|
|
%patch11 -p1 -b .urlsnarf_escape
|
|
%patch12 -p1 -b .string_header
|
|
%patch13 -p1 -b .arpa_inet_header
|
|
%patch14 -p1 -b .pop_with_version
|
|
%patch15 -p1 -b .obsolete_time
|
|
%patch16 -p1 -b .checksum_libnids
|
|
%patch17 -p1 -b .fedora_dirs
|
|
%patch18 -p1 -b .glib2
|
|
%patch19 -p1 -b .link_layer_offset
|
|
%patch20 -p1 -b .tds_decoder
|
|
%patch21 -p1 -b .msgsnarf_segfault
|
|
%patch22 -p1 -b .urlsnarf_timestamp
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install_prefix=$RPM_BUILD_ROOT INSTALL='install -p' install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc CHANGES LICENSE README TODO
|
|
%dir %{_sysconfdir}/%{name}
|
|
%config(noreplace) %{_sysconfdir}/%{name}/*
|
|
%{_sbindir}/arpspoof
|
|
%{_sbindir}/dnsspoof
|
|
%{_sbindir}/%{name}
|
|
%{_sbindir}/filesnarf
|
|
%{_sbindir}/macof
|
|
%{_sbindir}/mailsnarf
|
|
%{_sbindir}/msgsnarf
|
|
%{_sbindir}/sshmitm
|
|
%{_sbindir}/sshow
|
|
%{_sbindir}/tcpkill
|
|
%{_sbindir}/tcpnice
|
|
%{_sbindir}/urlsnarf
|
|
%{_sbindir}/webmitm
|
|
%{_sbindir}/webspy
|
|
%{_mandir}/man8/arpspoof.8*
|
|
%{_mandir}/man8/dnsspoof.8*
|
|
%{_mandir}/man8/%{name}.8*
|
|
%{_mandir}/man8/filesnarf.8*
|
|
%{_mandir}/man8/macof.8*
|
|
%{_mandir}/man8/mailsnarf.8*
|
|
%{_mandir}/man8/msgsnarf.8*
|
|
%{_mandir}/man8/sshmitm.8*
|
|
%{_mandir}/man8/sshow.8*
|
|
%{_mandir}/man8/tcpkill.8*
|
|
%{_mandir}/man8/tcpnice.8*
|
|
%{_mandir}/man8/urlsnarf.8*
|
|
%{_mandir}/man8/webmitm.8*
|
|
%{_mandir}/man8/webspy.8*
|
|
|
|
%changelog
|
|
* Mon Jul 30 2012 Robert Scheck <robert@fedoraproject.org> 2.4-0.14.b1
|
|
- Added a patch which adds further link layer offsets
|
|
- Avoid opportunity for DoS in tabular data stream protocol handler
|
|
- Added a memset in msgsnarf to correctly 0 out the C struct
|
|
- Patched urlsnarf to use timestamps from pcap file if available
|
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.13.b1
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Fri Mar 30 2012 Jon Ciesla <limburgher@gmail.com> - 2.4-0.12.b1
|
|
- libnet rebuild
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.11.b1
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.10.b1
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Mon Mar 29 2010 Robert Scheck <robert@fedoraproject.org> 2.4-0.9.b1
|
|
- Rebuild against libnids 1.24
|
|
|
|
* Fri Jan 08 2010 Robert Scheck <robert@fedoraproject.org> 2.4-0.8.b1
|
|
- Added build requirement to libXmu-devel for webspy (#553230)
|
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.4-0.7.b1
|
|
- rebuilt with new openssl
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.6.b1
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 2.4-0.5.b1
|
|
- Rebuild against gcc 4.4 and rpm 4.6
|
|
|
|
* Sat Aug 30 2008 Robert Scheck <robert@fedoraproject.org> 2.4-0.4.b1
|
|
- Re-diffed dsniff url log escaping patch for no fuzz
|
|
|
|
* Wed May 29 2008 Robert Scheck <robert@fedoraproject.org> 2.4-0.3.b1
|
|
- Rebuild against libnids 1.23
|
|
|
|
* Sun Feb 10 2008 Robert Scheck <robert@fedoraproject.org> 2.4-0.2.b1
|
|
- Rebuild against gcc 4.3
|
|
|
|
* Thu Nov 29 2007 Robert Scheck <robert@fedoraproject.org> 2.4-0.1.b1
|
|
- Upgrade to 2.4b1 and added many patches from Debian
|
|
- Initial spec file for Fedora and Red Hat Enterprise Linux
|