kali linux change mac address code example
Example 1: code to change the mac address kali linux
ifconfig eth0(whatever the interface name is ) down
ifocnfig eth0 hw ether 00:11:22:33:44:55
ifconfig eht0 up
Example 2: how to change mac address kali linux
$ sudo ifconfig [interface] down
$ sudo ifconfig [interface] hw ether [new MAC Address (needs to start with 00)]
$ sudo ifconfig [interface] up