forked from p15670423/monkey
Py3 + added additional string output.
This commit is contained in:
parent
095f05370f
commit
aa61a4e66e
|
@ -34,12 +34,13 @@ class VictimHost(object):
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
victim = "Victim Host %s: " % self.ip_addr
|
victim = "Victim Host %s: " % self.ip_addr
|
||||||
victim += "OS - ["
|
victim += "OS - ["
|
||||||
for k, v in self.os.iteritems():
|
for k, v in self.os.items():
|
||||||
victim += "%s-%s " % (k, v)
|
victim += "%s-%s " % (k, v)
|
||||||
victim += "] Services - ["
|
victim += "] Services - ["
|
||||||
for k, v in self.services.iteritems():
|
for k, v in self.services.items():
|
||||||
victim += "%s-%s " % (k, v)
|
victim += "%s-%s " % (k, v)
|
||||||
victim += ']'
|
victim += ']'
|
||||||
|
victim += "target monkey: %s" % self.monkey_exe
|
||||||
return victim
|
return victim
|
||||||
|
|
||||||
def set_default_server(self, default_server):
|
def set_default_server(self, default_server):
|
||||||
|
|
Loading…
Reference in New Issue