diff --git a/monkey_island/cc/resources/pthmap.py b/monkey_island/cc/resources/pthmap.py index 8a65f3197..93af154d7 100644 --- a/monkey_island/cc/resources/pthmap.py +++ b/monkey_island/cc/resources/pthmap.py @@ -899,16 +899,12 @@ def main(): threatening = dict(map(lambda x: (x, len(pth.GetThreateningUsersByVictim(x))), pth.GetNonCritialServers())) print """""" - print """""" + print """""" for m, count in sorted(threatening.iteritems(), key=lambda (k,v): (v,k), reverse=True): if count <= 0: continue print """""".format(ip=m.GetIp(), hostname=m.GetHostName(), domain=m.GetDomainName(), count=count) - print """""" print """""".format(count=count)
Critical ServerHostnameDomainCritical Services InstalledThreatening User CountThreatening Users
Critical ServerHostnameDomainThreatening User CountThreatening Users
{ip}{hostname}{domain}
    """ - for service_name in m.GetCriticalServicesInstalled(): - print """
  • {service_name}
  • """.format(service_name=service_name) - print """
{count}