Skip to content

Commit c2f0973

Browse files
committed
Report attempt_time
1 parent fb9ad66 commit c2f0973

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/exploits/linux/http/kloxo_sqli.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def report_cred(opts)
9494
login_data = {
9595
core: create_credential(credential_data),
9696
status: Metasploit::Model::Login::Status::SUCCESSFUL,
97+
last_attempted_at: opts[:attempt_time]
9798
}.merge(service_data)
9899

99100
create_credential_login(login_data)
@@ -125,7 +126,8 @@ def exploit
125126
port: rport,
126127
user: 'admin',
127128
service_name: 'http',
128-
password: @password
129+
password: @password,
130+
attempt_time: DateTime.now
129131
)
130132

131133
print_status("#{peer} - Retrieving the server name...")

0 commit comments

Comments
 (0)