/home/bmac/PycharmProjects/mac_changer/venv/bin/python /home/bmac/PycharmProjects/mac_changer/mac_changer.py
interface > eth0
new MAC > 00:11:22:33:44:55
[+] Changing MAC address for eth0 to 00:11:22:33:44:55
Traceback (most recent call last):
File “/home/bmac/PycharmProjects/mac_changer/mac_changer.py”, line 14, in <module>
subprocess.call([“sudo ifconfig”, interface, “down”])
File “/usr/lib/python3.8/subprocess.py”, line 340, in call
with Popen(*popenargs, **kwargs) as p:
File “/usr/lib/python3.8/subprocess.py”, line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File “/usr/lib/python3.8/subprocess.py”, line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘sudo ifconfig’
Process finished with exit code 1