main
Alexander Neff 2024-03-22 12:47:40 +01:00
parent c123e37d4e
commit 1e517c8313
1 changed files with 1 additions and 1 deletions

View File

@ -1044,7 +1044,7 @@ class smb(connection):
lmhash=self.lmhash, lmhash=self.lmhash,
nthash=self.nthash, nthash=self.nthash,
) )
logged_on = set([(f"{user.wkui1_logon_domain}\\{user.wkui1_username}", user.wkui1_logon_server) for user in logged_on]) logged_on = {(f"{user.wkui1_logon_domain}\\{user.wkui1_username}", user.wkui1_logon_server) for user in logged_on}
self.logger.success("Enumerated logged_on users") self.logger.success("Enumerated logged_on users")
if self.args.loggedon_users_filter: if self.args.loggedon_users_filter:
for user in logged_on: for user in logged_on: