File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
metasploit/framework/login_scanner
modules/auxiliary/scanner/teamcity
spec/modules/auxiliary/scanner/teamcity Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
9999end
Original file line number Diff line number Diff line change 11require 'rspec'
22require '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
You can’t perform that action at this time.
0 commit comments