DNSDmpstr : Unofficial API & Client for DnsDumpster & HackerTarget

DNSDmpstr is an unofficial API & Client for DNS Dumpster and HackerTarget.com IP tools.

DNS dumpster is a FREE domain research tool that can discover hosts related to a domain. Finding visible hosts from the attackers perspective is an important part of the security assessment process.

Also Read – Metaforge : An OSINT Metadata Analysing Tool that Filters Through Tags & Creates Reports

Installation

git clone https://github.com/zeropwn/dnsdmpstr
cd dnsdmpstr
pip3 install -r requirements.txt
chmod +x ddump.py

Usage

As a command-line utility

target=”hackerone.com”
python3 ddump.py -u $target –all

Extended usage

usage: ddump.py [-h] [-u U] [-a] [-r] [-d] [-dd] [–links] [–headers] [–all]
optional arguments:
-h, –help show this help message and exit
-u U target domain
-a host search (DNS A Record lookup)
-r reverse dns lookup (accepts IP, IP range or domain name)
-d dns lookup
-dd classical dns dump format
–links grab page links from url
–headers grab http headers from url
–all grab all information available

As a library

import dnsdmpstr
target = “hackerone.com”
dnsdump = dnsdmpstr()
print(json.dumps(dnsdump.dump(target), indent=1))
print(dnsdump.hostsearch(target))
print(dnsdump.reversedns(target))
print(dnsdump.dnslookup(target))
print(dnsdump.pagelinks(target))
print(dnsdump.httpheaders(target))

R K

Recent Posts

Understanding the Model Context Protocol (MCP) and How It Works

Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…

1 day ago

The file Command – Quickly Identify File Contents in Linux

While file extensions in Linux are optional and often misleading, the file command helps decode what a…

2 days ago

How to Use the touch Command in Linux

The touch command is one of the quickest ways to create new empty files or update timestamps…

2 days ago

How to Search Files and Folders in Linux Using the find Command

Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…

2 days ago

How to Move and Rename Files in Linux with the mv Command

Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…

2 days ago

How to Create Directories in Linux with the mkdir Command

Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…

2 days ago