Skip to content
Snippets Groups Projects
Commit 5f0e5fa6 authored by Dirk Loss's avatar Dirk Loss
Browse files

Fixed the MAC address resolving on Windows (Issue #318)

parent ad473cc8
No related branches found
No related tags found
No related merge requests found
...@@ -296,6 +296,9 @@ def getmacbyip(ip, chainCC=0): ...@@ -296,6 +296,9 @@ def getmacbyip(ip, chainCC=0):
return mac return mac
return None return None
import scapy.layers.l2
scapy.layers.l2.getmacbyip = getmacbyip
try: try:
import readline import readline
console = readline.GetOutputFile() console = readline.GetOutputFile()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment