Move ACPP default port into Rex

bug/bundler_fix
Jon Hart 2015-01-12 19:43:57 -08:00
parent 4e6879fb1e
commit 69f03f5c5d
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
3 changed files with 11 additions and 3 deletions

View File

@ -17,8 +17,8 @@ module Metasploit
#
# CONSTANTS
#
DEFAULT_PORT = 5009
LIKELY_PORTS = [ 5009 ]
DEFAULT_PORT = Rex::Proto::ACPP::DEFAULT_PORT
LIKELY_PORTS = [ DEFAULT_PORT ]
LIKELY_SERVICE_NAMES = [ 'acpp' ]
PRIVATE_TYPES = [ :password ]
REALM_KEY = nil

View File

@ -7,3 +7,11 @@
require 'rex/proto/acpp/client'
require 'rex/proto/acpp/message'
module Rex
module Proto
module ACPP
DEFAULT_PORT = 5009
end
end
end

View File

@ -34,7 +34,7 @@ class Metasploit3 < Msf::Auxiliary
register_options(
[
Opt::RPORT(5009)
Opt::RPORT(Rex::Proto::ACPP::DEFAULT_PORT)
], self.class)
deregister_options(