File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
modules/exploits/unix/webapp Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -371,32 +371,6 @@ def on_new_session(session)
371
371
end
372
372
end
373
373
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
-
400
374
def report_cred ( opts )
401
375
service_data = {
402
376
address : opts [ :ip ] ,
You can’t perform that action at this time.
0 commit comments