Site Tools


marc:linux:hacking

This is an old revision of the document!


Hacking howto

Spoofing Ethernet Mac address:

using ifconfig:

ifconfig (to find device) ifconfig wlan0/eth0 down ifconfig wlan0/eth0 hw ether 00:11:22:33:44:55 ifconfig wlan0/eth0 up

using ip:

ip link show interface where interface is the name of the nic

this will give you the mac address: link/ether xx:xx:xx:xx:xx

ip link set dev interface down

ip link set dev interface address 11:22:33:44:55:66

ip link set dev interface up

ip link show interface to check

marc/linux/hacking.1641485204.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki