From bb71a9fc8c0185ec18b5a8b2bb0a15536b821471 Mon Sep 17 00:00:00 2001 From: gpotter2 Date: Wed, 25 Oct 2017 15:36:47 +0200 Subject: [PATCH] Fix read_routes windows 8+ --- scapy/arch/windows/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scapy/arch/windows/__init__.py b/scapy/arch/windows/__init__.py index c78276d12..075fd87f6 100755 --- a/scapy/arch/windows/__init__.py +++ b/scapy/arch/windows/__init__.py @@ -299,7 +299,7 @@ def get_windows_if_list(): # Ethernet Killer E2200 Gigabit Ethernet Contro... 13 Up D0-50-99-56-DD-F9 1 Gbps query = exec_query(['Get-NetAdapter'], ['InterfaceDescription', 'InterfaceIndex', 'Name', - 'InterfaceGuid', 'MacAddress', 'Name']) # It is normal that it is in this order + 'InterfaceGuid', 'MacAddress', 'InterfaceAlias']) # It is normal that it is in this order else: query = exec_query(['Get-WmiObject', 'Win32_NetworkAdapter'], ['Name', 'InterfaceIndex', 'InterfaceDescription',