mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-08-14 02:37:06 -07:00
Fixed bug when logging in Netcreds
FIxed an invalid function call in MDNSpoisoner.py
This commit is contained in:
parent
8270f337ad
commit
93d21c8b27
2 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue