-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
en0 --mac 11.22.33.44.55.66
[*] changing MAC addr to 11.22.33.44.55.66 for interface en0 :
ifconfig: hw: bad value
Traceback (most recent call last):
File "mac.py", line 43, in
current_mac=get_current_mac(interface)
File "mac.py", line 27, in get_current_mac
mac_address_search_result=re.search(r"\w\w:\w\w:\w\w:\w\w:\w\w:\w\w",ifconfig_result)
File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/re.py", line 183, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object
Metadata
Metadata
Assignees
Labels
No labels