All pastes #993644 Raw Edit

iwlwifi mac spoofing

public text v1 · immutable
#993644 ·published 2008-04-22 19:25 UTC
rendered paste body
@@ether@blackcomb:~$ sudo iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :

	<shows my wireless networks>

@@ether@blackcomb:~$ ifconfig

	<cut the other interfaces to save space>

wlan0     Link encap:Ethernet  HWaddr 00:13:02:2c:31:29  
          inet addr:192.168.1.106  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::213:2ff:fe2c:4951/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:143360 errors:0 dropped:0 overruns:0 frame:0
          TX packets:129594 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:126050188 (120.2 MB)  TX bytes:35970569 (34.3 MB)

wmaster0  Link encap:UNSPEC  HWaddr 00-13-02-2C-31-29-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

@@ether@blackcomb:~$ sudo ifconfig wlan0 down
@@ether@blackcomb:~$ sudo macchanger wlan0 --mac 00:11:22:33:44:55
Current MAC: 00:13:02:2c:31:29 (unknown)
Faked MAC:   00:11:22:33:44:55 (Cimsys Inc)
@@ether@blackcomb:~$ sudo macchanger wmaster0 --mac 00:11:22:33:44:55
Current MAC: 00:13:02:2c:31:29 (unknown)
Faked MAC:   00:11:22:33:44:55 (Cimsys Inc)
@@ether@blackcomb:~$ sudo ifconfig wlan0 up
@@ether@blackcomb:~$ ifconfig

	<cut the other interfaces to save space>

wlan0     Link encap:Ethernet  HWaddr 00:11:22:33:44:55  
          inet addr:192.168.1.106  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:144194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:131269 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:126113910 (120.2 MB)  TX bytes:38281053 (36.5 MB)

wmaster0  Link encap:UNSPEC  HWaddr 00-11-22-33-44-55-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

@@ether@blackcomb:~$ sudo iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     No scan results

@@ether@blackcomb:~$ sudo iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     No scan results

@@ether@blackcomb:~$ sudo ifconfig wlan0 down
@@ether@blackcomb:~$ sudo macchanger wlan0 --mac 00:13:02:2c:31:29
Current MAC: 00:11:22:33:44:55 (Cimsys Inc)
Faked MAC:   00:13:02:2c:31:29 (unknown)
@@ether@blackcomb:~$ sudo macchanger wmaster0 --mac 00:13:02:2c:31:29
Current MAC: 00:11:22:33:44:55 (Cimsys Inc)
Faked MAC:   00:13:02:2c:31:29 (unknown)
@@ether@blackcomb:~$ sudo ifconfig wlan0 up
@@ether@blackcomb:~$ sudo iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :

	<shows my wireless networks>