Apr-15-2019, 06:13 PM
I inherited a code using the spoof-mac.py from GitHub change the Wi-Fi MAC address.
It works on Windows 7 laptop with both Broadcom or Intel wireless cards. But on Windows 10, it acts weird:
When directly called (as admin) using Python spoof-mac.py set mac-address "Wi-Fi" -- the wifi mac address is changed (checked by "getmac").
When called in the code (the same one works on Windows 7) -- the mac address was not changed, and it pops up the Pycharm window, opens the spoof-mac.py.
There is no difference when using Python 2.7 or 3.7.
What could be the reason?
It works on Windows 7 laptop with both Broadcom or Intel wireless cards. But on Windows 10, it acts weird:
When directly called (as admin) using Python spoof-mac.py set mac-address "Wi-Fi" -- the wifi mac address is changed (checked by "getmac").
When called in the code (the same one works on Windows 7) -- the mac address was not changed, and it pops up the Pycharm window, opens the spoof-mac.py.
There is no difference when using Python 2.7 or 3.7.
What could be the reason?