Agent: Add type hints to VictimHost constructor

This commit is contained in:
Mike Salvatore 2021-12-16 13:50:13 -05:00
parent 29d3cc2aaf
commit 7cb1f761d8
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
class VictimHost(object):
def __init__(self, ip_addr, domain_name=""):
def __init__(self, ip_addr: str, domain_name: str = ""):
self.ip_addr = ip_addr
self.domain_name = str(domain_name)
self.os = {}