Comments (5)
Thank you for opening this issue!
It looks like it cannot find the executable "host". I use this for DNS lookups. You'll need to ensure "host" is in your PATH. This should be default on most Linux-based operating systems.
I don't test the tool on Windows, so can't give any advice if that is your platform.
I need a better error for this, so I'll leave this issue open as you're not the first to report.
Thanks!
from cloud_enum.
That was a fast response :)
I'm using Manjaro and it is pretty much a fresh installation.
Why does it look for host when it is hosts file?
from cloud_enum.
It actually looks for a binary called "host" which can be used to perform a DNS lookup. To enumerate azure stuff, I look for DNS entries. It's kind of like "nslookup". Despite the similar name, it is not related to the file /etc/hosts.
You don't hit the error on AWS, because AWS bucket enumeration is done instead by HTTP requests.
Look at line 77 here: https://github.com/initstring/cloud_enum/blob/master/enum_tools/azure_checks.py
valid_names = utils.fast_dns_lookup(candidates, nameserver)
That calls a function from here: https://github.com/initstring/cloud_enum/blob/master/enum_tools/utils.py
line 126:
cmd = ['host', '{}'.format(name), '{}'.format(nameserver)]
So basically it is trying to run "host".
What happens when you type host
on the command line on your Manjaro installation?
from cloud_enum.
-bash: host: command not found
Manjaro doesn't come with host binary by default.
I installed bind-tools via the following command:
pacman -S bind-tools
And now it works flawlessly :)
from cloud_enum.
Thanks! I also added a check to provide a better error for others.
from cloud_enum.
Related Issues (20)
- Error HOT 3
- requirements.txt invocation to be change in readme.md HOT 2
- DNS operation timed out HOT 6
- Disabled Storage Account HOT 1
- error typo on open function HOT 2
- Test writeable S3 buckets HOT 2
- Breaks when too many fuzz list is given HOT 16
- Required permissions and address HOT 1
- awsapps error. is this supposed to be happening? HOT 2
- [Feature request] Improve output customisation HOT 16
- Move to MIT License HOT 1
- Called from another script HOT 5
- Unnecessary returning of variable or May be just forgot to do some logic ? HOT 2
- JSON output
- Google Cloud functions fail when possible subdomain length too long. HOT 4
- AWS module-DNS Error
- The Firebase database has been deactivated.: https://testest.firebaseio.com/.json HOT 1
- "DNS Timeout...Investigate if there are many of these" Error HOT 4
- AWS S3 bucket checks not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud_enum.