fixed some output

This commit is contained in:
byt3bl33d3r 2015-04-16 01:38:28 +02:00
parent 6121c67eaa
commit 88a4e15900
4 changed files with 9 additions and 6 deletions

View file

@ -51,7 +51,7 @@ class DnsCache:
def setCustomRes(self, host, ip_address=None):
if ip_address is not None:
self.cache[host] = ip_address
mitmf_logger.debug("DNS entry set: %s -> %s" %(host, ip_address))
mitmf_logger.debug("[DNSCache] DNS entry set: %s -> %s" %(host, ip_address))
else:
if self.customAddress is not None:
self.cache[host] = self.customAddress