Skip to content

Commit fd2a12d

Browse files
committed
Merge pull request rapid7#115 from rapid7/bug/MSP-10730/finish-login-status-move
Specs passing, no hits on Metasploit::Credential::Login::Status across all projects aside from coverage docs (3). MSP-10730 #land
2 parents ff017f8 + bebf11c commit fd2a12d

38 files changed

+46
-46
lines changed

lib/msf/core/db.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3484,7 +3484,7 @@ def inspect_single_packet_http(pkt,wspace,args)
34843484

34853485
login_data = {
34863486
core: credential_core,
3487-
status: Metasploit::Credential::Login::Status::UNTRIED
3487+
status: Metasploit::Model::Login::Status::UNTRIED
34883488
}
34893489

34903490
login_data.merge!(service_data)

lib/msf/core/db_manager/import_msf_xml.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def import_msf_xml(args={}, &block)
377377
port: port,
378378
protocol: proto,
379379
service_name: sname,
380-
status: Metasploit::Credential::Login::Status::UNTRIED)
380+
status: Metasploit::Model::Login::Status::UNTRIED)
381381
end
382382
end
383383
end

modules/auxiliary/scanner/afp/afp_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def run_host(ip)
8787
login_data = {
8888
core: credential_core,
8989
last_attempted_at: DateTime.now,
90-
status: Metasploit::Credential::Login::Status::SUCCESSFUL
90+
status: Metasploit::Model::Login::Status::SUCCESSFUL
9191
}
9292
login_data.merge!(service_data)
9393

modules/auxiliary/scanner/db2/db2_auth.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def run_host(ip)
8787
login_data = {
8888
core: credential_core,
8989
last_attempted_at: DateTime.now,
90-
status: Metasploit::Credential::Login::Status::SUCCESSFUL
90+
status: Metasploit::Model::Login::Status::SUCCESSFUL
9191
}
9292
login_data.merge!(service_data)
9393

modules/auxiliary/scanner/ftp/ftp_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def run_host(ip)
100100
access_level: test_ftp_access(result.credential.public, scanner),
101101
core: credential_core,
102102
last_attempted_at: DateTime.now,
103-
status: Metasploit::Credential::Login::Status::SUCCESSFUL
103+
status: Metasploit::Model::Login::Status::SUCCESSFUL
104104
}
105105
login_data.merge!(service_data)
106106

modules/auxiliary/scanner/http/tomcat_mgr_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def run_host(ip)
136136
login_data = {
137137
core: credential_core,
138138
last_attempted_at: DateTime.now,
139-
status: Metasploit::Credential::Login::Status::SUCCESSFUL
139+
status: Metasploit::Model::Login::Status::SUCCESSFUL
140140
}
141141
login_data.merge!(service_data)
142142

modules/auxiliary/scanner/mssql/mssql_hashdump.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def run_host(ip)
6262
login_data = {
6363
core: credential_core,
6464
last_attempted_at: DateTime.now,
65-
status: Metasploit::Credential::Login::Status::SUCCESSFUL
65+
status: Metasploit::Model::Login::Status::SUCCESSFUL
6666
}
6767
login_data.merge!(service_data)
6868

@@ -143,7 +143,7 @@ def report_hashes(mssql_hashes, version_year)
143143

144144
login_data = {
145145
core: credential_core,
146-
status: Metasploit::Credential::Login::Status::UNTRIED
146+
status: Metasploit::Model::Login::Status::UNTRIED
147147
}
148148

149149
login_data.merge!(service_data)

modules/auxiliary/scanner/mssql/mssql_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def run_host(ip)
8282
login_data = {
8383
core: credential_core,
8484
last_attempted_at: DateTime.now,
85-
status: Metasploit::Credential::Login::Status::SUCCESSFUL
85+
status: Metasploit::Model::Login::Status::SUCCESSFUL
8686
}
8787
login_data.merge!(service_data)
8888

modules/auxiliary/scanner/mysql/mysql_hashdump.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def run_host(ip)
5353
login_data = {
5454
core: credential_core,
5555
last_attempted_at: DateTime.now,
56-
status: Metasploit::Credential::Login::Status::SUCCESSFUL
56+
status: Metasploit::Model::Login::Status::SUCCESSFUL
5757
}
5858
login_data.merge!(service_data)
5959

@@ -91,7 +91,7 @@ def run_host(ip)
9191
credential_core = create_credential(credential_data)
9292
login_data = {
9393
core: credential_core,
94-
status: Metasploit::Credential::Login::Status::UNTRIED
94+
status: Metasploit::Model::Login::Status::UNTRIED
9595
}
9696
login_data.merge!(service_data)
9797
create_credential_login(login_data)

modules/auxiliary/scanner/mysql/mysql_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def run_host(ip)
8080
login_data = {
8181
core: credential_core,
8282
last_attempted_at: DateTime.now,
83-
status: Metasploit::Credential::Login::Status::SUCCESSFUL
83+
status: Metasploit::Model::Login::Status::SUCCESSFUL
8484
}
8585
login_data.merge!(service_data)
8686

0 commit comments

Comments
 (0)