Page MenuHomeFreeBSD

D9064.id23655.diff
No OneTemporary

D9064.id23655.diff

Index: net-mgmt/Makefile
===================================================================
--- net-mgmt/Makefile
+++ net-mgmt/Makefile
@@ -55,6 +55,7 @@
SUBDIR += dhcdrop
SUBDIR += dhcp_probe
SUBDIR += disco
+ SUBDIR += dnsmap
SUBDIR += docsis
SUBDIR += driftnet
SUBDIR += ehnt
Index: net-mgmt/dnsmap/Makefile
===================================================================
--- /dev/null
+++ net-mgmt/dnsmap/Makefile
@@ -0,0 +1,30 @@
+# Created by: Rihaz Jerrin <rihaz.jerrin@gmail.com>
+# $FreeBSD$
+
+PORTNAME= dnsmap
+PORTVERSION= 0.30
+CATEGORIES= net-mgmt
+MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/dnsmap/ \
+ http://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/dnsmap/
+
+MAINTAINER= rihaz.jerrin@gmail.com
+COMMENT= DNS domain name brute forcing tool
+
+LICENSE= GPLv2
+
+PORTDOCS= Changelog.txt README.txt CREDITS.txt use_cases.txt
+
+PLIST_FILES= bin/dnsmap bin/dnsmap-bulk ${DATADIR}/wordlist_TLAs.txt
+
+do-build:
+ ${CC} ${CFLAGS} ${WRKSRC}/dnsmap.c -o ${WRKSRC}/dnsmap
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-bulk.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-bulk
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/wordlist_TLAs.txt ${STAGEDIR}${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Index: net-mgmt/dnsmap/distinfo
===================================================================
--- /dev/null
+++ net-mgmt/dnsmap/distinfo
@@ -0,0 +1,2 @@
+SHA256 (dnsmap-0.30.tar.gz) = fcf03a7b269b51121920ac49f7d450241306cfff23c76f3da94b03792f6becbc
+SIZE (dnsmap-0.30.tar.gz) = 59929
Index: net-mgmt/dnsmap/files/patch-dnsmap-bulk.sh
===================================================================
--- /dev/null
+++ net-mgmt/dnsmap/files/patch-dnsmap-bulk.sh
@@ -0,0 +1,23 @@
+--- dnsmap-bulk.sh.orig 2016-04-11 23:06:01 UTC
++++ dnsmap-bulk.sh
+@@ -1,5 +1,5 @@
+-#!/bin/bash
+-if [[ $# -ne 1 && $# -ne 2 ]]
++#!/bin/sh
++if [ $# -ne 1 -a $# -ne 2 ]
+ then
+ echo "usage: `basename $0` <domains-file> [results-path]";
+ echo "e.g.:";
+@@ -9,10 +9,10 @@ then
+ fi
+ for i in `cat $1`
+ do
+- if [[ $# -eq 1 ]]
++ if [ $# -eq 1 ]
+ then
+ dnsmap $i
+- elif [[ $# -eq 2 ]]
++ elif [ $# -eq 2 ]
+ then
+ dnsmap $i -r $2
+ fi
Index: net-mgmt/dnsmap/pkg-descr
===================================================================
--- /dev/null
+++ net-mgmt/dnsmap/pkg-descr
@@ -0,0 +1,19 @@
+dnsmap was originally released back in 2006 and
+was inspired by the fictional story "The Thief
+No One Saw" by Paul Craig, which can be found
+in the book "Stealing the Network - How to 0wn the Box".
+
+dnsmap is mainly meant to be used by pentesters
+during the information gathering/enumeration phase
+of infrastructure security assessments. During the
+enumeration stage, the security consultant would
+typically discover the target company's IP netblocks,
+domain names, phone numbers, etc ...
+
+
+Subdomain brute-forcing is another technique that
+should be used in the enumeration stage, as it's
+especially useful when other domain enumeration
+techniques such as zone transfers don't work.
+
+WWW: http://code.google.com/p/dnsmap/

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 11, 3:49 AM (10 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16588479
Default Alt Text
D9064.id23655.diff (3 KB)

Event Timeline