Skip to content

Commit

Permalink
Merge pull request #19742 from sjanusz-r7/TeamCity-is-capitalized
Browse files Browse the repository at this point in the history
Capitalize TeamCity correctly
  • Loading branch information
adfoster-r7 authored Dec 18, 2024
2 parents 531ed16 + a99fae4 commit 2001469
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/metasploit/framework/login_scanner/teamcity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module LoginScanner
# This is the LoginScanner class for dealing with JetBrains TeamCity instances.
# It is responsible for taking a single target, and a list of credentials
# and attempting them. It then saves the results.
class Teamcity < HTTP
class TeamCity < HTTP

module Crypto
# https://github.com/openssl/openssl/blob/a08a145d4a7e663dd1e973f06a56e983a5e916f7/crypto/rsa/rsa_pk1.c#L125
Expand Down
3 changes: 2 additions & 1 deletion lib/msf_autoload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ def custom_inflections
'appapi' => 'AppApi',
'uds_errors' => 'UDSErrors',
'smb_hash_capture' => 'SMBHashCapture',
'rex_ntlm' => 'RexNTLM'
'rex_ntlm' => 'RexNTLM',
'teamcity' => 'TeamCity'
}
end

Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/teamcity/teamcity_login.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def run_host(ip)
ssl: datastore['SSL']
)

scanner = Metasploit::Framework::LoginScanner::Teamcity.new(scanner_opts)
scanner = Metasploit::Framework::LoginScanner::TeamCity.new(scanner_opts)
run_scanner(scanner)
end
end
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rspec'
require 'metasploit/framework/login_scanner/teamcity'

RSpec.describe Metasploit::Framework::LoginScanner::Teamcity do
RSpec.describe Metasploit::Framework::LoginScanner::TeamCity do

let(:subject) { described_class.new }

Expand Down

0 comments on commit 2001469

Please sign in to comment.