File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
metasploit/framework/login_scanner
modules/auxiliary/scanner/acpp Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ class ACPP
17
17
#
18
18
# CONSTANTS
19
19
#
20
- DEFAULT_PORT = 5009
21
- LIKELY_PORTS = [ 5009 ]
20
+ DEFAULT_PORT = Rex :: Proto :: ACPP :: DEFAULT_PORT
21
+ LIKELY_PORTS = [ DEFAULT_PORT ]
22
22
LIKELY_SERVICE_NAMES = [ 'acpp' ]
23
23
PRIVATE_TYPES = [ :password ]
24
24
REALM_KEY = nil
Original file line number Diff line number Diff line change 7
7
8
8
require 'rex/proto/acpp/client'
9
9
require 'rex/proto/acpp/message'
10
+
11
+ module Rex
12
+ module Proto
13
+ module ACPP
14
+ DEFAULT_PORT = 5009
15
+ end
16
+ end
17
+ end
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def initialize
34
34
35
35
register_options (
36
36
[
37
- Opt ::RPORT ( 5009 )
37
+ Opt ::RPORT ( Rex :: Proto :: ACPP :: DEFAULT_PORT )
38
38
] , self . class )
39
39
40
40
deregister_options (
You can’t perform that action at this time.
0 commit comments