Land #8909, Avoid saving some invalid creds
commit
b0dc44fb86
|
@ -49,7 +49,6 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
}.merge(service_data)
|
}.merge(service_data)
|
||||||
|
|
||||||
login_data = {
|
login_data = {
|
||||||
last_attempted_at: DateTime.now,
|
|
||||||
core: create_credential(credential_data),
|
core: create_credential(credential_data),
|
||||||
status: Metasploit::Model::Login::Status::UNTRIED,
|
status: Metasploit::Model::Login::Status::UNTRIED,
|
||||||
proof: opts[:proof]
|
proof: opts[:proof]
|
||||||
|
|
|
@ -46,7 +46,6 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
}.merge(service_data)
|
}.merge(service_data)
|
||||||
|
|
||||||
login_data = {
|
login_data = {
|
||||||
last_attempted_at: DateTime.now,
|
|
||||||
core: create_credential(credential_data),
|
core: create_credential(credential_data),
|
||||||
status: Metasploit::Model::Login::Status::UNTRIED,
|
status: Metasploit::Model::Login::Status::UNTRIED,
|
||||||
proof: opts[:proof]
|
proof: opts[:proof]
|
||||||
|
|
|
@ -61,7 +61,6 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
}.merge(service_data)
|
}.merge(service_data)
|
||||||
|
|
||||||
login_data = {
|
login_data = {
|
||||||
last_attempted_at: DateTime.now,
|
|
||||||
core: create_credential(credential_data),
|
core: create_credential(credential_data),
|
||||||
status: Metasploit::Model::Login::Status::UNTRIED
|
status: Metasploit::Model::Login::Status::UNTRIED
|
||||||
}.merge(service_data)
|
}.merge(service_data)
|
||||||
|
|
|
@ -116,7 +116,6 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
}.merge service_data
|
}.merge service_data
|
||||||
|
|
||||||
login_data = {
|
login_data = {
|
||||||
last_attempted_at: DateTime.now,
|
|
||||||
core: create_credential(credential_data),
|
core: create_credential(credential_data),
|
||||||
status: Metasploit::Model::Login::Status::UNTRIED,
|
status: Metasploit::Model::Login::Status::UNTRIED,
|
||||||
proof: opts[:proof]
|
proof: opts[:proof]
|
||||||
|
|
Loading…
Reference in New Issue