Skip to content

Commit ff8141c

Browse files
committed
Land rapid7#7644, cred fix for vbulletin_vote_sqli_exec
2 parents c65ff2f + 4135589 commit ff8141c

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

modules/exploits/unix/webapp/vbulletin_vote_sqli_exec.rb

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -371,32 +371,6 @@ def on_new_session(session)
371371
end
372372
end
373373

374-
def report_cred(opts)
375-
service_data = {
376-
address: opts[:ip],
377-
port: opts[:port],
378-
service_name: opts[:service_name],
379-
protocol: 'tcp',
380-
workspace_id: myworkspace_id
381-
}
382-
383-
credential_data = {
384-
origin_type: :service,
385-
module_fullname: fullname,
386-
username: opts[:user],
387-
private_data: opts[:password],
388-
private_type: :password
389-
}.merge(service_data)
390-
391-
login_data = {
392-
core: create_credential(credential_data),
393-
status: Metasploit::Model::Login::Status::UNTRIED,
394-
proof: opts[:proof]
395-
}.merge(service_data)
396-
397-
create_credential_login(login_data)
398-
end
399-
400374
def report_cred(opts)
401375
service_data = {
402376
address: opts[:ip],

0 commit comments

Comments
 (0)