ChrisTheCoolHut / Firmware_Slap

Discovering vulnerabilities in firmware through concolic analysis and function clustering.
GNU General Public License v3.0
470 stars 79 forks source link

Load_And_View_Results.py fails with ConnectionError exception #27

Closed zeafonso closed 4 years ago

zeafonso commented 4 years ago

_Load_And_ViewResults.py starts an elasticsearch-kibana Docker container and fails with a ConnectionError/ProtocolError/RemoteDisconnected exception if Elasticsearch is not reachable within 10 seconds: 2020-01-17 16_33_25-xub1804  Running  - Oracle VM VirtualBox

Upon start up it may take more than 10 seconds for the elasticsearch-kibana container to make Elasticsearch reachable to applications in the host.

Instead of sleeping for fixed 10 seconds I suggest _Load_And_ViewResults.py be modified to wait until Elasticsearch.ping() returns True.