Giter VIP home page Giter VIP logo

nmmapper / dnsdumpster Goto Github PK

View Code? Open in Web Editor NEW
246.0 7.0 40.0 154 KB

A tool to perform DNS reconnaissance on target networks. Among the DNS information got from include subdomains, mx records, web application firewall detection and more fingerprinting and lookups

Home Page: https://www.nmmapper.com

License: Mozilla Public License 2.0

Python 100.00%
subdomain subdomain-finder dnsdumpster nmmapper scanners scanner network reconnaissance dns-fingerprinting web-application-firewall

dnsdumpster's People

Contributors

latest-release avatar markatango avatar nmmapper avatar t0sc4n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dnsdumpster's Issues

simplejson.errors.JSONDecodeError

I tried running the latest version of dnsdumpster which gave me the following error:

Starting dns dump against nmmapper.com
Searching using engine DNSdumpster
Searching using engine Netcraft
Searching using engine Virustotal
Searching using engine ThreatCrowd
Searching using engine SSL Certificates
Process Virustotal-4:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/models.py", line 910, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 525, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/home/user/dnsdumpster/dnsdumpster.py", line 200, in run
    domain_list = self.enumerate()
  File "/home/user/dnsdumpster/dnsdumpster.py", line 614, in enumerate
    resp = self.send_req(url)
  File "/home/user/dnsdumpster/dnsdumpster.py", line 609, in send_req
    return resp.json()
  File "/usr/lib/python3/dist-packages/requests/models.py", line 917, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0
ERROR  HTTPSConnectionPool(host='www.threatcrowd.org', port=443): Max retries exceeded with url: /searchApi/v2/domain/report/?domain=nmmapper.com (Caused by SSLError(CertificateError("hostname 'www.threatcrowd.org' doesn't match '*.otxb.io'")))
{
    "asn": null,
    "host": "nmmapper.com",
    "mx": [],
    "ns": [
        {
            "ip": "108.162.192.56",
            "ns": "adi.ns.cloudflare.com."
        },
        {
            "ip": "172.64.33.170",
            "ns": "gordon.ns.cloudflare.com."
        }
    ],
    "server": "cloudflare",
    "subdomains": [],
    "txt": [
        "\"v=spf1 include:spf.privateemail.com ~all\""
    ]
}

installed on a Kali Linux system.

netcraftenum-3:

first time using this tool, and still new to python... but getting a Traceback for NetcraftEnum-3:

Process NetcraftEnum-3: Traceback (most recent call last): File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap self.run() File "dnsdumpster.py", line 201, in run for domain in domain_list: TypeError: 'NoneType' object is not iterable

it still completes, but its triggering my ocd of no errors

Erro In execution

File "dnsdumpster.py", line 548
url = f'https://{self.server}'
^
SyntaxError: invalid syntax

TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "dnsdumpster.py", line 201, in run
for domain in domain_list:
TypeError: 'NoneType' object is not iterable

python issue

/usr/local/lib/python3.7/dist-packages/ipwhois/net.py:138: UserWarning: allow_permutations has been deprecated and will be removed. It is no longer needed, due to the deprecation of asn_alts, and the addition of the asn_methods argument.
warn('allow_permutations has been deprecated and will be removed. '
/usr/local/lib/python3.7/dist-packages/ipwhois/asn.py:178: UserWarning: IPASN._parse_fields_dns() has been deprecated and will be removed. You should now use IPASN.parse_fields_dns().
warn('IPASN._parse_fields_dns() has been deprecated and will be '

some modules not found

hello! i'm not a geek about this but, i had problems with the file dnsdumpster.py when i run the command:

python dnsdumpster.py -d nmmapper.com

it says some modules like
dns.resolver
requests, and so on are not found

i've downloaded the dependencies
am I missing something?

regards

TypeError: cannot pickle '_thread.lock' object

Hi, the tool throughs this error at me.

Pull from github, install the requirements

----snip----
python3 dnsdumpster.py -d amazon.com
Starting dns dump against amazon.com
Searching using engine DNSdumpster
Searching using engine Netcraft
Searching using engine Virustotal
Searching using engine ThreatCrowd
Searching using engine SSL Certificates
Traceback (most recent call last):
File "/Users/kthostrup/Downloads/dnsdumpster/dnsdumpster.py", line 841, in
subs = main(args.d)
File "/Users/kthostrup/Downloads/dnsdumpster/dnsdumpster.py", line 793, in main
enum.start()
File "/usr/local/Cellar/[email protected]/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/usr/local/Cellar/[email protected]/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/usr/local/Cellar/[email protected]/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/usr/local/Cellar/[email protected]/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in init
super().init(process_obj)
File "/usr/local/Cellar/[email protected]/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_fork.py", line 19, in init
self._launch(process_obj)
File "/usr/local/Cellar/[email protected]/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File "/usr/local/Cellar/[email protected]/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_thread.lock' object
----snip----

Thanks in advance.
/Kim

Error dns.resolver.NoAnswer:

Hi Wangoloj,

I getting a error for hostnames without a A Record (at least my understanding).

here a the log with the error for nmmapper.com. I user python3 and Ubuntu 20.04.1 LTS
thanks and regards,
/bk

python3 dnsdumpster.py -d nmmapper.com
Starting dns dump against nmmapper.com
Searching using engine DNSdumpster
Searching using engine Netcraft
Searching using engine Virustotal
Searching using engine ThreatCrowd
Searching using engine SSL Certificates
Traceback (most recent call last):
File "dnsdumpster.py", line 841, in
subs = main(args.d)
File "dnsdumpster.py", line 809, in main
a_record = query_A_records(sub)
File "/home/bernd/python/dnsdumpster/geolocator/geo.py", line 39, in query_A_records
query = resol.query(hostname, query_type)
File "/home/bernd/.local/lib/python3.8/site-packages/dns/resolver.py", line 1089, in query
return self.resolve(qname, rdtype, rdclass, tcp, source,
File "/home/bernd/.local/lib/python3.8/site-packages/dns/resolver.py", line 1069, in resolve
(answer, done) = resolution.query_result(response, None)
File "/home/bernd/.local/lib/python3.8/site-packages/dns/resolver.py", line 641, in query_result
raise NoAnswer(response=answer.response)
dns.resolver.NoAnswer: The DNS response does not contain an answer to the question: a1.nmmapper.com. IN A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.