Skip to content

Commit

Permalink
TeamCity: Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanusz-r7 committed Nov 4, 2024
1 parent 520ac7e commit 68ec0c8
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions modules/auxiliary/scanner/teamcity/teamcity_login.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@ class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::HttpClient

def initialize(info = {})
super(update_info(info,
'Name' => 'JetBrains TeamCity Login Scanner',
'Description' => 'This module performs login attempts against a JetBrains TeamCity webpage to bruteforce possible credentials.',
'Author' => [ 'adfoster-r7', 'sjanusz-r7' ],
'License' => MSF_LICENSE,
super(
update_info(
info,
'Name' => 'JetBrains TeamCity Login Scanner',
'Description' => 'This module performs login attempts against a JetBrains TeamCity webpage to bruteforce possible credentials.',
'Author' => [ 'adfoster-r7', 'sjanusz-r7' ],
'License' => MSF_LICENSE,
'Notes' => {
'Stability' => [ CRASH_SAFE ],
'Reliability' => [],
'SideEffects' => [ IOC_IN_LOGS, ACCOUNT_LOCKOUTS ]
}
)
)

Expand Down Expand Up @@ -54,7 +61,7 @@ def run_scanner(scanner)
scanner.scan! do |result|
credential_data = result.to_h
credential_data.merge!(
module_fullname: self.fullname,
module_fullname: fullname,
workspace_id: myworkspace_id
)

Expand Down

0 comments on commit 68ec0c8

Please sign in to comment.