Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

windows10 netface names are not readable #59

Open
drunkpig opened this issue Jul 20, 2020 · 1 comment
Open

windows10 netface names are not readable #59

drunkpig opened this issue Jul 20, 2020 · 1 comment

Comments

@drunkpig
Copy link

In [1]: import netifaces

In [2]: add = netifaces.interfaces()

In [3]: add
Out[3]:
['{C7E350F7-D932-4BF2-9486-CD0EE8BAABA7}',
 '{D2CCEC51-24A8-496F-B8F9-27C9856B0782}',
 '{CE4B0FC2-0B6B-4950-BF26-31016C2FE4BA}',
 '{5CF3A1BA-924E-4BA0-B129-40F97985B17F}',
 '{D5265B1A-092F-42C7-8A8D-21DE7FE68F30}',
 '{CC12D0C5-3DC0-11EA-905F-806E6F6E6963}']
@jakeogh
Copy link

jakeogh commented Aug 28, 2020

See #3

From: https://stackoverflow.com/questions/29913516/how-to-get-meaningful-network-interface-names-instead-of-guids-with-netifaces-un

from scapy.all import get_windows_if_list
print(get_windows_if_list())
[
    {'name': 'Realtek USB GbE Family Controller', 'win_index': '17', 'description': 'Ethernet', 'guid': '<guid>', 'mac': '<mac>', 'netid': 'Ethernet'},  
    {'name': 'Intel(R) Dual Band Wireless-AC 8260', 'win_index': '5', 'description': 'Wi-Fi', 'guid': '<guid>', 'mac': '<mac>', 'netid': 'Wi-Fi'}
]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants