Index: head/dns/Makefile =================================================================== --- head/dns/Makefile (revision 416093) +++ head/dns/Makefile (revision 416094) @@ -1,210 +1,211 @@ # $FreeBSD$ # COMMENT = Domain Name Service tools SUBDIR += adns SUBDIR += adsuck SUBDIR += ares SUBDIR += autotrust SUBDIR += axfr2acl SUBDIR += bind-tools SUBDIR += bind9-devel SUBDIR += bind910 SUBDIR += bind99 SUBDIR += bindgraph SUBDIR += bundy SUBDIR += c-ares SUBDIR += checkdns SUBDIR += cli53 SUBDIR += credns SUBDIR += crossip SUBDIR += curvedns SUBDIR += ddclient SUBDIR += ddns SUBDIR += denominator SUBDIR += dhisd SUBDIR += djbdns SUBDIR += djbdns-tools SUBDIR += dlint SUBDIR += dnrd SUBDIR += dns2tcp SUBDIR += dns_balance SUBDIR += dnscap SUBDIR += dnscheck SUBDIR += dnscheckengine SUBDIR += dnscrypt-proxy SUBDIR += dnscrypt-wrapper SUBDIR += dnsdbck SUBDIR += dnsdist + SUBDIR += dnsenum SUBDIR += dnsflood SUBDIR += dnshistory SUBDIR += dnsjava SUBDIR += dnsmasq SUBDIR += dnsmasq-devel SUBDIR += dnsmax-perl SUBDIR += dnsperf SUBDIR += dnsproxy SUBDIR += dnsrecon SUBDIR += dnsreflector SUBDIR += dnstable SUBDIR += dnstop SUBDIR += dnstracer SUBDIR += dnsutl SUBDIR += dnsviz SUBDIR += dnswalk SUBDIR += dnswall SUBDIR += doc SUBDIR += dualserver SUBDIR += erlang-idna SUBDIR += ez-ipupdate SUBDIR += fastresolve SUBDIR += firedns SUBDIR += fpdns SUBDIR += gdnsd SUBDIR += gdnsd2 SUBDIR += gen6dns SUBDIR += getdns SUBDIR += ghtool SUBDIR += hesiod SUBDIR += hostdb SUBDIR += hs-dns SUBDIR += hs-gnuidn SUBDIR += idnkit SUBDIR += idnkit2 SUBDIR += inadyn SUBDIR += inadyn-mt SUBDIR += ipcheck SUBDIR += ironsides SUBDIR += knot1 SUBDIR += knot2 SUBDIR += ldapdns SUBDIR += ldns SUBDIR += ldnsm SUBDIR += libasr SUBDIR += libasr-devel SUBDIR += libbind SUBDIR += libdjbdns SUBDIR += libidn SUBDIR += libidn2 SUBDIR += libpsl SUBDIR += linux-c6-libasyncns SUBDIR += linux-f10-libasyncns SUBDIR += mDNSResponder_nss SUBDIR += maradns SUBDIR += mdnsd SUBDIR += mydns SUBDIR += mydns-ng SUBDIR += noip SUBDIR += nsd SUBDIR += nslint SUBDIR += nsping SUBDIR += nss_mdns SUBDIR += nss_resinit SUBDIR += opendd SUBDIR += opendnssec SUBDIR += opendnssec13 SUBDIR += openresolv SUBDIR += p5-AnyEvent-CacheDNS SUBDIR += p5-AnyEvent-DNS-EtcHosts SUBDIR += p5-BIND-Conf_Parser SUBDIR += p5-BIND-Config-Parser SUBDIR += p5-DNS-Config SUBDIR += p5-DNS-EasyDNS SUBDIR += p5-DNS-Ldns SUBDIR += p5-DNS-Zone SUBDIR += p5-DNS-ZoneParse SUBDIR += p5-Data-Validate-Domain SUBDIR += p5-IO-Async-Resolver-DNS SUBDIR += p5-Mozilla-PublicSuffix SUBDIR += p5-Net-Amazon-Route53 SUBDIR += p5-Net-Bonjour SUBDIR += p5-Net-DNS SUBDIR += p5-Net-DNS-Async SUBDIR += p5-Net-DNS-Check SUBDIR += p5-Net-DNS-Codes SUBDIR += p5-Net-DNS-Lite SUBDIR += p5-Net-DNS-Match SUBDIR += p5-Net-DNS-RR-SRV-Helper SUBDIR += p5-Net-DNS-Resolver-Programmable SUBDIR += p5-Net-DNS-SEC SUBDIR += p5-Net-DNS-TestNS SUBDIR += p5-Net-DNS-ToolKit SUBDIR += p5-Net-DNS-Zone-Parser SUBDIR += p5-Net-DNS-ZoneFile-Fast SUBDIR += p5-Net-DNSBL-MultiDaemon SUBDIR += p5-Net-DNSBL-Statistics SUBDIR += p5-Net-DRI SUBDIR += p5-Net-Domain-ExpireDate SUBDIR += p5-Net-Domain-TLD SUBDIR += p5-Net-LibIDN SUBDIR += p5-Net-Nslookup SUBDIR += p5-Net-RBLClient SUBDIR += p5-Net-RNDC SUBDIR += p5-POE-Component-Client-DNS SUBDIR += p5-POE-Component-Client-DNS-Recursive SUBDIR += p5-POE-Component-Client-DNSBL SUBDIR += p5-POE-Component-Resolver SUBDIR += p5-POE-Component-Server-DNS SUBDIR += p5-POE-Filter-DNS-TCP SUBDIR += p5-Stanford-DNSserver SUBDIR += p5-Tie-DNS SUBDIR += p5-URBL-Prepare SUBDIR += p5-pgeodns SUBDIR += pdnsd SUBDIR += pear-File_DNS SUBDIR += pear-Horde_Idna SUBDIR += pear-Net_DNS SUBDIR += pear-Net_DNS2 SUBDIR += powerdns SUBDIR += powerdns-recursor SUBDIR += public_suffix_list SUBDIR += py-adns SUBDIR += py-bonjour SUBDIR += py-dns SUBDIR += py-dnschain SUBDIR += py-dnspython SUBDIR += py-easyzone SUBDIR += py-idna SUBDIR += py-idnkit2 SUBDIR += py-ldns SUBDIR += py-namebench SUBDIR += py-publicsuffix SUBDIR += py-py3dns SUBDIR += py-pydnstable SUBDIR += py-pywdns SUBDIR += py-tldextract SUBDIR += py-twistedNames SUBDIR += radns SUBDIR += rbldnsd SUBDIR += rbllookup SUBDIR += rbllookup-ng SUBDIR += renewck SUBDIR += rpsl2acl SUBDIR += rubygem-dnsruby SUBDIR += rubygem-net-dns SUBDIR += rubygem-public_suffix SUBDIR += rubygem-public_suffix_service SUBDIR += samba-nsupdate SUBDIR += scavenge SUBDIR += sheerdns SUBDIR += sleuth SUBDIR += sshfp SUBDIR += tinystats SUBDIR += totd SUBDIR += udns SUBDIR += unbound SUBDIR += updatedd SUBDIR += validns SUBDIR += vhostcname SUBDIR += vizone SUBDIR += walker SUBDIR += wdns SUBDIR += whoseip SUBDIR += wrapsrv SUBDIR += yadifa SUBDIR += zkt SUBDIR += zonecheck SUBDIR += zonenotify .include Index: head/dns/dnsenum/Makefile =================================================================== --- head/dns/dnsenum/Makefile (nonexistent) +++ head/dns/dnsenum/Makefile (revision 416094) @@ -0,0 +1,43 @@ +# $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 Property changes on: head/dns/dnsenum/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/dnsenum/distinfo =================================================================== --- head/dns/dnsenum/distinfo (nonexistent) +++ head/dns/dnsenum/distinfo (revision 416094) @@ -0,0 +1,2 @@ +SHA256 (fwaeytens-dnsenum-1.2.4.2_GH0.tar.gz) = e8a18035a6e00b81430edb4a969ef5043ef39984f3a6b0629b83c8fecf9bf007 +SIZE (fwaeytens-dnsenum-1.2.4.2_GH0.tar.gz) = 20000 Property changes on: head/dns/dnsenum/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/dnsenum/files/patch-dnsenum.pl =================================================================== --- head/dns/dnsenum/files/patch-dnsenum.pl (nonexistent) +++ head/dns/dnsenum/files/patch-dnsenum.pl (revision 416094) @@ -0,0 +1,32 @@ +--- dnsenum.pl.orig 2016-04-22 00:50:16 UTC ++++ dnsenum.pl +@@ -58,6 +58,8 @@ use Net::Netmask; + use XML::Writer; + use Socket; + use String::Random; ++no if $] >= 5.017011, warnings => 'experimental::smartmatch'; ++ + + my ($ithreads_support, $whois_support, $mech_support, $html_support,$xml_support); + +@@ -71,7 +73,7 @@ my ($domain, $recur, $table, $extend_b, + my ($timeout, $delay, $pages, $ipcount, $ipvalid) = (10, 3, 5, 0, 0); + my ($output); + my $writer; +-my $program = 'dnsenum.pl'; ++my $program = 'dnsenum'; + my $string_gen = String::Random->new; + my $wildcards = $string_gen->randpattern("cccccccccccc"); + my @wildcardaddress; +@@ -176,11 +178,6 @@ if ($whois && !defined $whois_support) { + "whois queries disabled.\n"; + $whois = undef; + } +-if ($whois && !defined $whois_support) { +- warn "Warning: can't load Net::Whois::IP module, ". +- "whois queries disabled.\n"; +- $whois = undef; +-} + if ($output && !defined $xml_support) { + warn "Warning: can't load XML::Writer module, ". + "xml output disabled.\n"; Property changes on: head/dns/dnsenum/files/patch-dnsenum.pl ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/dnsenum/pkg-descr =================================================================== --- head/dns/dnsenum/pkg-descr (nonexistent) +++ head/dns/dnsenum/pkg-descr (revision 416094) @@ -0,0 +1,21 @@ +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 Property changes on: head/dns/dnsenum/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property