To change MAC address in kali linux follow the stpes:
1.open terminal type macchanger
2. If you want to see help option of macchanger.
Type macchanger --help and hit enter
Type macchanger --help and hit enter
3. Run ifconfig command on terminal to see your interface name and current MAC address
4. Before changing your MAC address you have to shut down your interface.
Syntax – ifconfig interfacename down
Ex – ifconfig eth0 down
– write interface name according to your interface name.
Syntax – ifconfig interfacename down
Ex – ifconfig eth0 down
– write interface name according to your interface name.
5. Now time to change MAC address.
Syntax – macchanger –r interfacename
EX – macchanger –r eth0
Syntax – macchanger –r interfacename
EX – macchanger –r eth0
As result you can see there are three MAC addresses first 2 addresses are our original MAC addresses and 3rd MAC address is FAKE.
6. After changing MAC address you have to up your interface.
Syntax – ifconfig interfacename up
Ex – ifconfig eth0 up
Syntax – ifconfig interfacename up
Ex – ifconfig eth0 up
7. Run ifconfig command in terminal to check MAC address and there you can see we have successfully changed our MAC address.
No comments:
Post a Comment