how to access wifi network interface in wsl2 an use ettercp to sniff the wifi network

J

jerryfagbemi

i want to be able to use ettercap on my wlan0 to sniff for packets in my wsl2.this was the tutorial i used to install my wsl. Don't get me wrong, i can use internet on kali through `eth0` but if i scan `eth0` the only host is me.

if i run `ifconfig` i get

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.73.8 netmask 255.255.255.240 broadcast 172.17.73.15
inet6 fe80::215:5dff:fe4d:9d82 prefixlen 64 scopeid 0x20<link>
ether 00:15:5d:4d:9d:82 txqueuelen 1000 (Ethernet)
RX packets 437343 bytes 309863593 (295.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 276812 bytes 535593285 (510.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 20 bytes 3101 (3.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 20 bytes 3101 (3.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

if i run `iwconfig` i get

dummy0 no wireless extensions.

bond0 no wireless extensions.

sit0 no wireless extensions.

lo no wireless extensions.

eth0 no wireless extensions.

if i run `iw dev` i get

nl80211 not found.

Continue reading...
 
Back
Top Bottom