Fixed bug when logging in Netcreds

FIxed an invalid function call in MDNSpoisoner.py
This commit is contained in:
byt3bl33d3r 2015-08-01 11:12:53 +02:00
commit 93d21c8b27
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ from urllib import unquote
from scapy.all import *
conf.verb=0
formatter = logging.Formatter("%(asctime)s %(clientip)s [NetCreds] %(message)s", datefmt="%Y-%m-%d %H:%M:%S")
formatter = logging.Formatter("%(asctime)s [NetCreds] %(message)s", datefmt="%Y-%m-%d %H:%M:%S")
log = logger().setup_logger("NetCreds", formatter)
DN = open(devnull, 'w')

View file

@ -58,7 +58,7 @@ class MDNSAns(Packet):
])
def calculate(self):
self.fields["IP"] = inet_aton(OURIP)
self.fields["IP"] = socket.inet_aton(OURIP)
self.fields["IPLen"] = struct.pack(">h",len(self.fields["IP"]))
def Parse_MDNS_Name(data):