Giter Site home page Giter Site logo

elastic_scan's People

Contributors

dependabot[bot] avatar ibonok avatar

Stargazers

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

Watchers

 avatar

Forkers

jen140

elastic_scan's Issues

Dependencies issues with Debian 10

Hello.

So when trying to install the latest version, the dependencies are not satisfied. Having the latest version of python3/pip installed when running:
pip3 install -r requirements.txt

ERROR: requests 2.20.0 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.25.8 which is incompatible.

HTTPS elastic server support with invalid cert

When accessing elastic instance on port 9200 that has https support the following error appears:
"Not an Elastic Search Instanz
Error go next"

When specifying https in the beginning:
python3 elastic_scan.py --ip https://IP:9200

I get the exception "urllib3.exceptions.SSLError: ("hostname 'IP' doesn't match 'DOMAIN'",)".

Looked through the documentation but PoolManager doesn't appear to accept "assert_hostname=False".

Thanks.

Yara library name is out of date

This was an easy fix but one worth noting:

root@kali:/opt/elastic_scan# pip3 install python-yara Collecting python-yara Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/python-yara/

The new URL is https://pypi.org/project/yara-python/ (note the new library name). Once I ran this, everything worked well.

pip3 install yara-python

Another way to correct this is just to update requirements.txt to include yara-python==3.10.0

error

C:\Users\Administrator\elastic_scan-master>elastic_scan.py --ip 8.8.8.8:
9200
##################################################
Connection Timeout: 30
Connection Retries: False
Scroll Size: 1
Indexes: *
Dump Elasticsearch Host: False
Output Format: None
##################################################
Connect to 8.8.8.8:9200
Traceback (most recent call last):
File "C:\Users\Administrator\elastic_scan-master\elastic_scan.py", line 305, i
n
single_ip(value)
File "C:\Users\Administrator\elastic_scan-master\elastic_scan.py", line 245, i
n single_ip
es = create_connection(ip)
File "C:\Users\Administrator\elastic_scan-master\elastic_scan.py", line 236, i
n create_connection
print (Fore.BLUE + 'Name: ' + version['name'] + '\nClustername: ' + version[
'cluster_name'] + '\nLucene Version: ' + version['version']['lucene_version'])
KeyError: 'cluster_name'

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.