Git Product home page Git Product logo

Comments (6)

airwawekz avatar airwawekz commented on June 25, 2024 1

That works without AWS. Thank you!

from cloud_enum.

initstring avatar initstring commented on June 25, 2024

Thanks for opening an issue!

I'd rather not click that link. Can you please paste in the text of the command that you ran and also the full text of the error?

Thanks!

from cloud_enum.

airwawekz avatar airwawekz commented on June 25, 2024

Sure!

input: python3 cloud_enum.py -k sitename -k site.com -k blockchaindoohickey --logfile LOGFILE -t 100

output:



++++++++++++++++++++++++++
       azure checks
++++++++++++++++++++++++++

[+] Checking for Azure Storage Accounts
[*] Brute-forcing a list of 894 possible DNS names
Traceback (most recent call last):
  File "cloud_enum.py", line 234, in <module>
    main()
  File "cloud_enum.py", line 221, in main
    azure_checks.run_all(names, args)
  File "/root/tools/cloud_enum/enum_tools/azure_checks.py", line 291, in run_all
    args.nameserver)
  File "/root/tools/cloud_enum/enum_tools/azure_checks.py", line 78, in check_storage_accounts
    threads=threads)
  File "/root/tools/cloud_enum/enum_tools/utils.py", line 139, in fast_dns_lookup
    results = pool.map(dns_lookup_params, batch)
  File "/usr/lib/python3.7/multiprocessing/pool.py", line 268, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/usr/lib/python3.7/multiprocessing/pool.py", line 657, in get
    raise self._value
  File "/usr/lib/python3.7/multiprocessing/pool.py", line 121, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/root/tools/cloud_enum/enum_tools/utils.py", line 113, in dns_lookup
    res.query(name)
  File "/usr/lib/python3/dist-packages/dns/resolver.py", line 992, in query
    timeout = self._compute_timeout(start, lifetime)
  File "/usr/lib/python3/dist-packages/dns/resolver.py", line 799, in _compute_timeout
    raise Timeout(timeout=duration)
dns.exception.Timeout: The DNS operation timed out after 30.001579761505127 seconds
root@kali:~/tools/cloud_enum# 

from cloud_enum.

initstring avatar initstring commented on June 25, 2024

For some reason, your operating systems is not able to contact the default DNS server the tool uses (8.8.8.8).

Can you try running the tools with the -ns switch and provide your own DNS server?

Also, maybe try less than 100 threads. Start with 5 and go from there.

from cloud_enum.

airwawekz avatar airwawekz commented on June 25, 2024

I have the same error on Kali VMware and DigitalOcean with my DNS server and low threads no. :(

from cloud_enum.

initstring avatar initstring commented on June 25, 2024

Hmmmm...

Well, DNS enumeration is only needed for Azure. So let's try this to quickly test:

python3 cloud_enum.py --disable-aws --disable-gcp -t 5 -k test

That will use the built-in 8.8.8.8 DNS server. If it fails, you can then do this:

dig test.com @8.8.8.8

Do they both fail? Then, you can try them again with another nameserver:

python3 cloud_enum.py --disable-aws --disable-gcp -t 5 -k test -ns 1.1.1.1
dig test.com @1.1.1.1

If you consistently get failures from both dig and cloud_enum, then you need to troubleshoot your access to the DNS servers you are providing. If you are getting only errors from cloud_enum, then let me know.

Also, does the error come up right away when it gets to DNS? Or does it make some process at all before crashing?

Thanks!

from cloud_enum.

Related Issues (20)

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.