Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
#23: bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Qianlitp committed Feb 19, 2020
1 parent 9dc767a commit 45f0820
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/detect/event_log/discovery/EnumerateGroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def run(self, log: Log):
return

# 如果账号是管理员 直接忽略
if self.account_info.check_target_is_admin_by_sid(sid=sid, domain=log.subject_info.domain_name):
if self.account_info.check_target_is_admin_by_sid(sid=log.subject_info.user_sid,
domain=log.subject_info.domain_name):
return

# 判断账号是否为 Users,如果不是,直接退出
Expand Down

0 comments on commit 45f0820

Please sign in to comment.