bin/msfaggregator in metasploit-aggregator-0.1.0 vs bin/msfaggregator in metasploit-aggregator-0.1.1

- old
+ new

@@ -1,21 +1,21 @@ #!/usr/bin/env ruby require 'bundler/setup' -require 'msf/aggregator' -require 'msf/aggregator/cable' -require 'msf/aggregator/logger' +require 'metasploit/aggregator' +require 'metasploit/aggregator/cable' +require 'metasploit/aggregator/logger' admin_host = '127.0.0.1' admin_port = 2447 listener = '127.0.0.1' remote_console = '127.0.0.1' # cert_file = './cert.pem' # cert_string = File.new(cert_file).read cert_string = nil -# server = Msf::Aggregator::Server.new('127.0.0.1', 1337) -server = Msf::Aggregator::MsgPackServer.new(admin_host, admin_port) +# server = Metasploit::Aggregator::Server.new('127.0.0.1', 1337) +server = Metasploit::Aggregator::MsgPackServer.new(admin_host, admin_port) server.start Logger.log "Starting administration service on #{admin_host}:#{admin_port}" loop do command = $stdin.gets