1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/dns/dnsenum/Makefile
Pawel Pekala b3315d8863 Multithreaded perl script to enumerate DNS information
of a domain and discover non-contiguous IP blocks.

OPERATIONS:
 Get the host's address (A record).
 Get the nameservers (threaded).
 Get the MX record (threaded).
 Perform axfr queries on nameservers and
 get BIND VERSION (threaded).
 Get extra names and subdomains via google
 scraping (google query = "allinurl: -www site:domain").
 Brute force subdomains from file, can also
 perform recursion on subdomain that have NS records (all threaded).
 Calculate C class domain network ranges
 and perform whois queries on them (threaded).
 Perform reverse lookups on  netranges
 ( C class or/and whois netranges) (threaded).
 Write to domain_ips.txt file
 ip-blocks.

WWW:https://github.com/fwaeytens/dnsenum

PR:		208950
Submitted by:	Rihaz Jerrin <rihaz.jerrin@gmail.com>
2016-05-29 11:33:33 +00:00

44 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= dnsenum
PORTVERSION= 1.2.4.2
CATEGORIES= dns
MAINTAINER= rihaz.jerrin@gmail.com
COMMENT= Enumerate DNS information and discover non-contiguous IP blocks
LICENSE= GPLv2
RUN_DEPENDS= p5-Net-IP>=0:net-mgmt/p5-Net-IP \
p5-Net-DNS>=0:dns/p5-Net-DNS \
p5-Net-Netmask>=0:net-mgmt/p5-Net-Netmask \
p5-Net-Whois>=0:net/p5-Net-Whois \
p5-HTML-Parser>=0:www/p5-HTML-Parser \
p5-WWW-Mechanize>=0:www/p5-WWW-Mechanize \
p5-XML-Writer>=0:textproc/p5-XML-Writer \
p5-String-Random>=0:devel/p5-String-Random
USE_GITHUB= yes
GH_ACCOUNT= fwaeytens
USES= perl5 shebangfix
SHEBANG_FILES= ${WRKSRC}/dnsenum.pl
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/dnsenum \
${DOCSDIR_REL}/README \
${DOCSDIR_REL}/INSTALL.txt \
${DATADIR_REL}/dns.txt
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/dnsenum.pl ${STAGEDIR}${PREFIX}/bin/dnsenum
${MKDIR} ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README
${INSTALL_DATA} ${WRKSRC}/INSTALL.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/dns.txt ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>