Cowpatty** 專精於**離線 WPA-PSK 字典破解**,不具備封包捕獲、注入攻擊功能。適用場景:已取得 .cap 握手包,需在獨立主機高效跑字典。最新版 4.6 (圖 5-17)。
cowpatty -f <字典檔> -r <握手包.cap> -s <目標SSID>
-f:字典檔路徑-r:Airodump-ng 捕獲的 .cap 檔 (含 4-way handshake)-s:目標 AP 的 SSID (大小寫敏感)Collected all necessary data to mount crack against WPA2/PSK passphrase.
Starting dictionary attack. Passphrase will be tested at 160 passphrases/second.
...
The passphrase is "longaslast".
genpmk 預計算 SSID+字典 → PMK 雨雲表,後續破解極快 (查表級)Cowpatty 雖輕量專一,但在「已有握手包、需純 CPU 跑字典」場景下極具代表性。現代破解已轉向 GPU/ASIC 加速與 PMKID 攻擊 (無需完整 4-way handshake),防禦陣線必須同步進化至 WPA3 與零信任架構。