Skip to content

Commit 0b92e32

Browse files
committed
modules/auxiliary/scanner/acpp: Resolve RuboCop violations
1 parent c5a5488 commit 0b92e32

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

modules/auxiliary/scanner/acpp/login.rb

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,30 @@ class MetasploitModule < Msf::Auxiliary
1414

1515
def initialize
1616
super(
17-
'Name' => 'Apple Airport ACPP Authentication Scanner',
18-
'Description' => %q(
17+
'Name' => 'Apple Airport ACPP Authentication Scanner',
18+
'Description' => %q{
1919
This module attempts to authenticate to an Apple Airport using its
2020
proprietary and largely undocumented protocol known only as ACPP.
21-
),
22-
'Author' =>
23-
[
24-
'Jon Hart <jon_hart[at]rapid7.com>'
25-
],
26-
'References' =>
27-
[
28-
%w(CVE 2003-0270) # Fixed XOR key used to encrypt password
29-
],
30-
'License' => MSF_LICENSE
21+
},
22+
'Author' => [
23+
'Jon Hart <jon_hart[at]rapid7.com>'
24+
],
25+
'References' => [
26+
%w[CVE 2003-0270] # Fixed XOR key used to encrypt password
27+
],
28+
'License' => MSF_LICENSE,
29+
'Notes' => {
30+
'Stability' => [CRASH_SAFE],
31+
'SideEffects' => [IOC_IN_LOGS],
32+
'Reliability' => []
33+
}
3134
)
3235

3336
register_options(
3437
[
3538
Opt::RPORT(Rex::Proto::ACPP::DEFAULT_PORT)
36-
])
39+
]
40+
)
3741

3842
deregister_options(
3943
# there is no username, so remove all of these options

0 commit comments

Comments
 (0)