Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Elastic Cloud Settings #14

Open
ir0nf1re opened this issue Sep 27, 2018 · 5 comments
Open

Elastic Cloud Settings #14

ir0nf1re opened this issue Sep 27, 2018 · 5 comments

Comments

@ir0nf1re
Copy link

The settings.json file has a setting for a local instance of Elastic search. Would it be possible to give us the parameters for Elastic Cloud? I have installed Danger-zone on Kali, and it works great, but would really like to use Elastic Cloud.

@woj-ciech
Copy link
Owner

Hey,
Sorry but I don't have possibility to test this functionality but please find commits 6c0697e and 1695c3e in branch https://github.com/woj-ciech/Danger-zone/tree/Elastic-cloud
Let me know if it works

@ir0nf1re
Copy link
Author

It seems there is no connection to the Elastic cloud, below is a screenshot of Wireshark traffic

wire

@ir0nf1re ir0nf1re reopened this Sep 29, 2018
@woj-ciech
Copy link
Owner

woj-ciech commented Sep 29, 2018

Sorry but I don't exactly get what you mean. Screenshot shows DNS traffic and that your request cannot be resolved.
Check your address or DNS server please.

@ir0nf1re
Copy link
Author

I have no connection issues; Danger-zone connects fine to other domains, but seems to have an issue with Elastic cloud. Below is the tools.py settings that I have, as per your commit.

def test_connection():
config = parse_config()
try:
es = Elasticsearch(host=config['elastic']['host'], port=config['elastic']['port'], http_auth=(config['elastic']['user'],config['elastic']['password']),use_ssl=config['elastic']['ssl'])
print "Succesfully connected to ElasticSearch"
return es
except:
print 'Unable to connect to Elasticsearch. \nCheck your connection and settings.json file'
sys.exit()

@woj-ciech
Copy link
Owner

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants