Skip to content

Not working #2

@Sanketwable

Description

@Sanketwable

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions