Giter Site home page Giter Site logo

Comments (6)

lizrice avatar lizrice commented on May 24, 2024

Looks like you're missing the dependencies - you need to run pip install -r requirements.txt

from kube-hunter.

pezzivic avatar pezzivic commented on May 24, 2024

I ran it before I attempted to use kube-hunter. Now, if I run it again I get:
pez$ pip install -r requirements.txt --user
Requirement already satisfied: netaddr in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r requirements.txt (line 1)) (0.7.19)
Requirement already satisfied: netifaces in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r requirements.txt (line 2)) (0.10.9)
Requirement already satisfied: enum34 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r requirements.txt (line 3)) (1.1.6)
Requirement already satisfied: scapy in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r requirements.txt (line 4)) (2.4.2)
Requirement already satisfied: requests in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r requirements.txt (line 5)) (2.21.0)
Requirement already satisfied: PrettyTable in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r requirements.txt (line 6)) (0.7.2)
Requirement already satisfied: urllib3 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r requirements.txt (line 7)) (1.24.1)
Requirement already satisfied: ruamel.yaml in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r requirements.txt (line 8)) (0.15.87)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->-r requirements.txt (line 5)) (2018.11.29)
Requirement already satisfied: idna<2.9,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->-r requirements.txt (line 5)) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->-r requirements.txt (line 5)) (3.0.4)
So, I assume it was good.
I do have python 2.7 and 3 installed...
pez$ python
Python 2.7.10 (default, Aug 17 2018, 19:45:58)
[GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.0.42)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
pez$ python3
Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
But I think that should not cause an issue in this case.
Pez

from kube-hunter.

lizrice avatar lizrice commented on May 24, 2024

from kube-hunter.

pezzivic avatar pezzivic commented on May 24, 2024

Thank you Liz. I do not know what I was looking at. Anyway, I did this
ez$ pip2 install -r requirements.txt
Collecting netaddr (from -r requirements.txt (line 1))
Could not fetch URL https://pypi.python.org/simple/netaddr/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement netaddr (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for netaddr (from -r requirements.txt (line 1))

got this error....
same things happen if I do python2 -m pip install -r requirements.txt...
If I go to URL via browser, I get the list of netaddr files...
will look further

from kube-hunter.

danielsagi avatar danielsagi commented on May 24, 2024

Try running:

python3 kube-hunter.py --cidr 192.168.70.143 --mapping

if that doesn't work,
try running:

pip2 install --trusted-host pypi.org --trusted-host files.pythonhosted.org netaddr

to install netaddr without the ssl error

from kube-hunter.

lizrice avatar lizrice commented on May 24, 2024

I'd like to close this as it's to do with installing requirements rather than an issue with kube-hunter

from kube-hunter.

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.