I am trying to write a python script for MacChanger. This is the script I am using:
import subprocess
subprocess.call(["ifconfig","ens33","down"])
subprocess.call(["ifconfig","ens33","hw","ether","00:11:22:33:44:55"])
subprocess.call(["ifconfig","ens33","up"])
When I run this, I am getting this error:
SIOCSIFFLAGS: Operation not permitted