ibonok / elastic_scan Goto Github PK
View Code? Open in Web Editor NEWDump elasticsearch instance
License: MIT License
Dump elasticsearch instance
License: MIT License
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.
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.
Hi, I've tryied to find your email or something, I need to contact you regarding a Red Team exercise.
ping me at [email protected]
Thanks in advance.
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
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.