forked from p34709852/monkey
fix
This commit is contained in:
parent
99ee46c38a
commit
0025d242d7
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue