Added hostname to shared creds users

This commit is contained in:
maor.rayzin 2018-10-29 14:24:52 +02:00
parent b85fb8c94a
commit 242c2c8700
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class PTHReportService(object):
{
'type': 'shared_passwords_domain' if user_info['domain_name'] else 'shared_passwords',
'machine': user_info['hostname'] if user_info['hostname'] else user_info['domain_name'],
'shared_with': [i['username'] for i in group['cred_groups']],
'shared_with': [i['hostname'] + '\\' + i['username'] for i in group['cred_groups']],
'is_local': False if user_info['domain_name'] else True
}
)