Skip to content

Commit

Permalink
Re-enable LoggedOn collection method via registry
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelduss committed Nov 1, 2021
1 parent 7615860 commit ae0a4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SharpHound3/Tasks/LoggedOnTasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ internal static async Task<LdapWrapper> ProcessLoggedOn(LdapWrapper wrapper)
{
var sessions = new List<Session>();
sessions.AddRange(await GetLoggedOnUsersAPI(computer));
//sessions.AddRange(await GetLoggedOnUsersRegistry(computer));
sessions.AddRange(await GetLoggedOnUsersRegistry(computer));
var temp = computer.Sessions.ToList();
temp.AddRange(sessions);
computer.Sessions = temp.Distinct().ToArray();
Expand Down

0 comments on commit ae0a4cf

Please sign in to comment.