I'm trying to pentest the wireless network in my dormitory. I have a USB wireless adapter connected to my kali. As you can see, I can't detect any wifi network even I know there are many wifis here. Here is my code :
root@kali:~# iwconfig
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
eth0 no wireless extensions.
root@kali:~# airmon-ng start wlan0
Found 2 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'
PID Name
609 NetworkManager
788 wpa_supplicant
PHY Interface Driver Chipset
phy0 wlan0 rt2800usb Ralink Technology, Corp. RT2870/RT3070
(mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon)
(mac80211 station mode vif disabled for [phy0]wlan0)
root@kali:~# airodump-ng wlan0
Interface wlan0:
ioctl(SIOCGIFINDEX) failed: No such device
root@kali:~# airodump-ng mon0
Interface mon0:
ioctl(SIOCGIFINDEX) failed: No such device
root@kali:~#
root@kali:~# airmon-ng check kill
Killing these processes:
PID Name
788 wpa_supplicant
root@kali:~#
root@kali:~# air
airbase-ng airdecap-ng aireplay-ng airodump-ng airolib-ng airtun-ng
aircrack-ng airdecloak-ng airmon-ng airodump-ng-oui-update airserv-ng
root@kali:~# airmon-ng start wlan0
Found 2 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'
PID Name
2209 dhclient
2287 NetworkManager
PHY Interface Driver Chipset
phy0 wlan0mon rt2800usb Ralink Technology, Corp. RT2870/RT3070
root@kali:~# airodump-ng wlan0mon
note :
do not use airmon-ng to enable monitor mode because it stop the network-manager service
Instead, use :
ifconfig wlan0 down
iwconfig wlan0 mode monitor;
ifconfig wlan0 up;
CH 14 ][ Elapsed: 56 s ][ 2017-03-23 07:32
BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID
BSSID STATION PWR Rate Lost Frames Probe
root@kali:~#
You see I've been waiting for 56 seconds and I still didn't get a target scanned. I've also tries many times and waited longer, still the same. I don't know where is wrong. Please help.
Aucun commentaire:
Enregistrer un commentaire