Skip to content

Commit 68ec0c8

Browse files
committed
TeamCity: Lint
1 parent 520ac7e commit 68ec0c8

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

modules/auxiliary/scanner/teamcity/teamcity_login.rb

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,18 @@ class MetasploitModule < Msf::Auxiliary
1212
include Msf::Exploit::Remote::HttpClient
1313

1414
def initialize(info = {})
15-
super(update_info(info,
16-
'Name' => 'JetBrains TeamCity Login Scanner',
17-
'Description' => 'This module performs login attempts against a JetBrains TeamCity webpage to bruteforce possible credentials.',
18-
'Author' => [ 'adfoster-r7', 'sjanusz-r7' ],
19-
'License' => MSF_LICENSE,
15+
super(
16+
update_info(
17+
info,
18+
'Name' => 'JetBrains TeamCity Login Scanner',
19+
'Description' => 'This module performs login attempts against a JetBrains TeamCity webpage to bruteforce possible credentials.',
20+
'Author' => [ 'adfoster-r7', 'sjanusz-r7' ],
21+
'License' => MSF_LICENSE,
22+
'Notes' => {
23+
'Stability' => [ CRASH_SAFE ],
24+
'Reliability' => [],
25+
'SideEffects' => [ IOC_IN_LOGS, ACCOUNT_LOCKOUTS ]
26+
}
2027
)
2128
)
2229

@@ -54,7 +61,7 @@ def run_scanner(scanner)
5461
scanner.scan! do |result|
5562
credential_data = result.to_h
5663
credential_data.merge!(
57-
module_fullname: self.fullname,
64+
module_fullname: fullname,
5865
workspace_id: myworkspace_id
5966
)
6067

0 commit comments

Comments
 (0)