beefproject/beef — Issue #279: Connection to Metasploit backend failed.
Author: passbe
Created: 2011-12-10 22:28:39+00:00
State: open

What steps will reproduce the problem?
1. Configured BeEF.rc in the install directory of metaspoilt
2. Configured Config.yaml to enable metaspoilt with the host and callback_host information to point to the metaspoilt credentials
3. Running ruby beef throws the following errors :
[ 7:51:57][!] Connection to Metasploit backend failed.
[ 7:51:57][!] Could not authenticate to Metasploit xmlrpc.

What is the expected output? What do you see instead?
MSF integration should be successful

What version/revision of the product are you using? On what browser? On
what operating system?
Beef 0.4.2.7-alpha , Ubuntu

Please provide any additional information and screen shots below.
Config.yaml :
metasploit:
enable: true
host: "127.0.0.1"
url-path: "/RPC2"
port: 55553
user: "msf"
pass: "xxxxx"
callback_host: "192.168.141.138"
autopwn_url: "autopwn"

BeEF.rc File :
$ cat BeEF.rc
load xmlrpc ServerHost=192.168.141.138 PASS=xxxxx ServerType=Web

Google Code Issue: http://code.google.com/p/beef/issues/detail?id=527