Skip to content

Commit 2001469

Browse files
authored
Merge pull request rapid7#19742 from sjanusz-r7/TeamCity-is-capitalized
Capitalize TeamCity correctly
2 parents 531ed16 + a99fae4 commit 2001469

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

lib/metasploit/framework/login_scanner/teamcity.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module LoginScanner
77
# This is the LoginScanner class for dealing with JetBrains TeamCity instances.
88
# It is responsible for taking a single target, and a list of credentials
99
# and attempting them. It then saves the results.
10-
class Teamcity < HTTP
10+
class TeamCity < HTTP
1111

1212
module Crypto
1313
# https://github.com/openssl/openssl/blob/a08a145d4a7e663dd1e973f06a56e983a5e916f7/crypto/rsa/rsa_pk1.c#L125

lib/msf_autoload.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ def custom_inflections
297297
'appapi' => 'AppApi',
298298
'uds_errors' => 'UDSErrors',
299299
'smb_hash_capture' => 'SMBHashCapture',
300-
'rex_ntlm' => 'RexNTLM'
300+
'rex_ntlm' => 'RexNTLM',
301+
'teamcity' => 'TeamCity'
301302
}
302303
end
303304

modules/auxiliary/scanner/teamcity/teamcity_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def run_host(ip)
9393
ssl: datastore['SSL']
9494
)
9595

96-
scanner = Metasploit::Framework::LoginScanner::Teamcity.new(scanner_opts)
96+
scanner = Metasploit::Framework::LoginScanner::TeamCity.new(scanner_opts)
9797
run_scanner(scanner)
9898
end
9999
end

spec/modules/auxiliary/scanner/teamcity/teamcity_login_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'rspec'
22
require 'metasploit/framework/login_scanner/teamcity'
33

4-
RSpec.describe Metasploit::Framework::LoginScanner::Teamcity do
4+
RSpec.describe Metasploit::Framework::LoginScanner::TeamCity do
55

66
let(:subject) { described_class.new }
77

0 commit comments

Comments
 (0)