autoDANE icon indicating copy to clipboard operation
autoDANE copied to clipboard

Cannot connect to metasploit

Open Kaicastledine opened this issue 8 years ago • 2 comments

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.

Kaicastledine avatar Jul 06 '17 11:07 Kaicastledine

Right it seems to be related to the configuration of the workerthread file https://github.com/sensepost/autoDANE/blob/master/worker/workerthread.py

Kaicastledine avatar Jul 07 '17 15:07 Kaicastledine

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

Tripex48 avatar Nov 17 '17 11:11 Tripex48