1 # Maintainer: fnord0 <fnord0 AT riseup DOT net>
6 pkgdesc="Perl script that enumerates DNS information from a domain, attempts zone transfers, performs a brute force dictionary style attack, and then performs reverse look-ups on the results"
8 url="http://www2.packetstormsecurity.org/cgi-bin/search/search.cgi?searchvalue=dnsenum"
10 depends=('perl' 'perl-net-dns' 'perl-net-ip' 'perl-net-netmask')
11 optdepends=('perl-www-mechanize: google scraping support'
12 'perl-net-whois-ip: whois query support')
13 source=(http://dl.packetstormsecurity.net/UNIX/scanners/${pkgname}${pkgver}.tar.gz)
14 md5sums=('59d92826d06119a21f197ea7fd8bcb17')
15 sha1sums=('ceee37fb9e9e019eb1c0b55177d521ae48e321a4')
18 cd ${srcdir}/${pkgname}${pkgver}
19 install -d ${pkgdir}/usr/bin || return 1
20 install -d ${pkgdir}/usr/share/${pkgname}/doc || return 1
21 install -Dm755 ${srcdir}/${pkgname}${pkgver}/${pkgname}.pl ${pkgdir}/usr/share/${pkgname}/${pkgname}.pl || return 1
22 install -Dm644 README.txt ${pkgdir}/usr/share/${pkgname}/doc/README.txt || return 1
23 install -Dm644 dns.txt ${pkgdir}/usr/share/${pkgname}/dns.txt || return 1
24 ln -sf /usr/share/${pkgname}/${pkgname}.pl ${pkgdir}/usr/bin/${pkgname}.pl || return 1