Name: dnsenum
Version: 1.2
Release: 10%{?dist}
Summary: A tool to enumerate DNS info about domains
Group: Applications/Internet
License: GPLv2+
URL: http://code.google.com/p/dnsenum/
Source0: http://%{name}.googlecode.com/files/%{name}%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(Readonly)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
The purpose of this tool is to gather as much information as possible about a
domain. The program currently gathers A, NS, MX records, performs axfr queries,
gets extra names and subdomains via google scraping, bruteforces subdomains from
file, calculate C class domain network ranges and perform whois queries on them,
perform reverse lookups on netranges, writes ip-blocks to domain_ips.txt.
%prep
%setup -q -n %{name}%{version}
for file in README.txt; do
sed "s|\r||g" $file > $file.new && \
touch -r $file $file.new && \
mv $file.new $file
done
%build
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__install} -Dp -m0755 %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.txt dns.txt
%{_bindir}/%{name}
%changelog
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.2-9
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.2-7
- Perl mass rebuild
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.2-6
- Perl 5.14 mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Jun 29 2010 Ralf Corsépius <corsepiu@fedoraproject.org> 1.2-4
- Rebuild for perl-5.12.x.
* Wed Apr 28 2010 Mohammed imran <imranceh@gmail.com> 1.2-3
- Used macros for rm and /usr/bin
* Mon Apr 26 2010 Mohammed imran <imranceh@gmail.com> 1.2-2
- Fixed English grammer,moved from sbin/ to bin/
- Added Requires dependencies
* Tue Apr 13 2010 Mohammed imran <imranceh@gmail.com> 1.2-1
- Initial version of the package