Cannot connect to metasploit
When metasploit is called I get the following error,
starting metasploit ...
timeout.will try again
there was an error starting metasploit console
[!] could not connect
This then loops round, caused by selecting the depth of test to include Exploitation.
Right it seems to be related to the configuration of the workerthread file https://github.com/sensepost/autoDANE/blob/master/worker/workerthread.py
There is a variety of reasons why metasploit might timeout.
First ensure that the following packages are installed:
#apt-get install postgresql libpq-dev git-core #gem install pg
#git clone git://github.com/SpiderLabs/msfrpc.git msfrpc #cd msfrpc/python-msfrpc #python setup.py install
Hereafter, you would need to start both the postgresql and metasploit services:
#service postgresql start #msfconsole
Within msfconsole, you would need to setup the MSFRPC server: msf -> db_connect autodane:[email protected]/autodane msgrpc Pass=abc123