Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2016 11:00:02 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416092 - in head/dns: . dnsrecon
Message-ID:  <201605291100.u4TB02U1004585@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun May 29 11:00:02 2016
New Revision: 416092
URL: https://svnweb.freebsd.org/changeset/ports/416092

Log:
  DNSRecon provides the ability to perform:
  
   Check all NS Records for Zone Transfers.
   Enumerate General DNS Records for a given
   Domain (MX, SOA, NS, A, AAAA, SPF and TXT).
   Perform common SRV Record Enumeration.
   Top Level Domain (TLD) Expansion.
   Check for Wildcard Resolution.
   Brute Force subdomain and host A
   and AAAA records given a domain and a wordlist.
   Perform a PTR Record lookup for a given IP Range or CIDR.
   Check a DNS Server Cached records for A, AAAA and
   CNAME Records provided a list of host records in a text file to check.
   Enumerate Common mDNS records in the Local
   Network Enumerate Hosts and Subdomains using Google.
  
  WWW: https://github.com/darkoperator/dnsrecon
  
  PR:		208975
  Submitted by:	Rihaz Jerrin <rihaz.jerrin@gmail.com>

Added:
  head/dns/dnsrecon/
  head/dns/dnsrecon/Makefile   (contents, props changed)
  head/dns/dnsrecon/distinfo   (contents, props changed)
  head/dns/dnsrecon/pkg-descr   (contents, props changed)
  head/dns/dnsrecon/pkg-plist   (contents, props changed)
Modified:
  head/dns/Makefile

Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile	Sun May 29 10:34:40 2016	(r416091)
+++ head/dns/Makefile	Sun May 29 11:00:02 2016	(r416092)
@@ -45,6 +45,7 @@
     SUBDIR += dnsmax-perl
     SUBDIR += dnsperf
     SUBDIR += dnsproxy
+    SUBDIR += dnsrecon
     SUBDIR += dnsreflector
     SUBDIR += dnstable
     SUBDIR += dnstop

Added: head/dns/dnsrecon/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dnsrecon/Makefile	Sun May 29 11:00:02 2016	(r416092)
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME=	dnsrecon
+PORTVERSION=	0.8.9
+DISTVERSIONPREFIX=	v
+CATEGORIES=	dns
+
+MAINTAINER=	rihaz.jerrin@gmail.com
+COMMENT=	DNS enumeration tool
+
+LICENSE=	GPLv2
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dnspython>=0:dns/py-dnspython \
+	  	${PYTHON_PKGNAMEPREFIX}netaddr>=0:net/py-netaddr
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	darkoperator
+
+USES=		python:2.7+ shebangfix tar:tgz
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+SHEBANG_FILES=	${WRKSRC}/dnsrecon.py
+FILELIST=	namelist.txt subdomains-top1mil-20000.txt \
+		subdomains-top1mil-5000.txt subdomains-top1mil.txt
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|from lib|from dnsrecon|g' ${WRKSRC}/${PORTNAME}.py
+
+do-install:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dnsrecon
+	(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* \
+		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dnsrecon)
+	${INSTALL_SCRIPT} ${WRKSRC}/dnsrecon.py ${STAGEDIR}${PREFIX}/bin/dnsrecon
+	${INSTALL_DATA}	${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README
+	${INSTALL_DATA} ${FILELIST:S|^|${WRKSRC}/|} ${STAGEDIR}${DATADIR}
+
+.include <bsd.port.mk>

Added: head/dns/dnsrecon/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dnsrecon/distinfo	Sun May 29 11:00:02 2016	(r416092)
@@ -0,0 +1,2 @@
+SHA256 (darkoperator-dnsrecon-v0.8.9_GH0.tar.gz) = c3b99b423919ed877dd75893212c0365c1491f2abca3de411cee04c467d8500a
+SIZE (darkoperator-dnsrecon-v0.8.9_GH0.tar.gz) = 635161

Added: head/dns/dnsrecon/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dnsrecon/pkg-descr	Sun May 29 11:00:02 2016	(r416092)
@@ -0,0 +1,17 @@
+DNSRecon provides the ability to perform:
+
+ Check all NS Records for Zone Transfers.
+ Enumerate General DNS Records for a given 
+ Domain (MX, SOA, NS, A, AAAA, SPF and TXT).
+ Perform common SRV Record Enumeration. 
+ Top Level Domain (TLD) Expansion.
+ Check for Wildcard Resolution.
+ Brute Force subdomain and host A 
+ and AAAA records given a domain and a wordlist.
+ Perform a PTR Record lookup for a given IP Range or CIDR.
+ Check a DNS Server Cached records for A, AAAA and 
+ CNAME Records provided a list of host records in a text file to check.
+ Enumerate Common mDNS records in the Local 
+ Network Enumerate Hosts and Subdomains using Google.
+
+WWW: https://github.com/darkoperator/dnsrecon

Added: head/dns/dnsrecon/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dnsrecon/pkg-plist	Sun May 29 11:00:02 2016	(r416092)
@@ -0,0 +1,12 @@
+bin/dnsrecon
+%%PYTHON_SITELIBDIR%%/dnsrecon/__init__.py
+%%PYTHON_SITELIBDIR%%/dnsrecon/dnshelper.py
+%%PYTHON_SITELIBDIR%%/dnsrecon/gooenum.py
+%%PYTHON_SITELIBDIR%%/dnsrecon/mdnsenum.py
+%%PYTHON_SITELIBDIR%%/dnsrecon/msf_print.py
+%%PYTHON_SITELIBDIR%%/dnsrecon/whois.py
+%%DATADIR%%/namelist.txt
+%%DATADIR%%/subdomains-top1mil-20000.txt
+%%DATADIR%%/subdomains-top1mil-5000.txt
+%%DATADIR%%/subdomains-top1mil.txt
+%%DOCSDIR%%/README



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605291100.u4TB02U1004585>