This commit is contained in:
Oran Nadler 2018-04-30 17:50:38 +03:00
parent 99ee46c38a
commit 0025d242d7
1 changed files with 2 additions and 2 deletions

View File

@ -845,7 +845,7 @@ class PassTheHashMap(object):
def GetSharedAdmins(self, m): def GetSharedAdmins(self, m):
shared_admins = set() shared_admins = set()
for other in pth.machines: for other in self.machines:
if m == other: if m == other:
continue continue
@ -883,7 +883,7 @@ def main():
print """<table>""" print """<table>"""
print """<tr><th>Ip</th><th>Hostname</th><th>Domain</th><th>Critical Services Installed</th><th>Shared User Count</th><th>Shared Users</th></tr>""" print """<tr><th>Ip</th><th>Hostname</th><th>Domain</th><th>Critical Services Installed</th><th>Shared User Count</th><th>Shared Users</th></tr>"""
for secret, count in sorted(dups.iteritems(), key=lambda (k,v): (v,k), reverse=True): for m, count in sorted(dups.iteritems(), key=lambda (k,v): (v,k), reverse=True):
if count <= 0: if count <= 0:
continue continue