Linux command
cowpatty 命令
趣味
复制后可按需替换文件名、目录或参数。
常用示例
Dictionary attack
cowpatty -f [wordlist.txt] -r [capture.cap] -s [SSID]
Use precomputed hash table
cowpatty -d [hashfile] -r [capture.cap] -s [SSID]
Generate hash table
genpmk -f [wordlist.txt] -d [hashfile] -s [SSID]
Check single passphrase
cowpatty -r [capture.cap] -s [SSID] -p "[passphrase]"
说明
cowpatty is a WPA/WPA2 PSK auditing tool that performs offline dictionary attacks against captured authentication handshakes. It's used for authorized wireless security testing. The tool processes four-way handshake captures and tests passphrases against the captured authentication exchange. Precomputed hash tables can dramatically speed up testing for common SSIDs.
参数
- -f _file_
- Dictionary file with passphrases.
- -d _file_
- Precomputed hash table file.
- -r _file_
- Packet capture file.
- -s _ssid_
- Network SSID (required).
- -p _pass_
- Single passphrase to test.
- -c
- Check for valid handshake only.
- -v
- Verbose output.
- -2
- Use frames 1 and 2 or 2 and 3.
FAQ
What is the cowpatty command used for?
cowpatty is a WPA/WPA2 PSK auditing tool that performs offline dictionary attacks against captured authentication handshakes. It's used for authorized wireless security testing. The tool processes four-way handshake captures and tests passphrases against the captured authentication exchange. Precomputed hash tables can dramatically speed up testing for common SSIDs.
How do I run a basic cowpatty example?
Run `cowpatty -f [wordlist.txt] -r [capture.cap] -s [SSID]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f _file_ do in cowpatty?
Dictionary file with passphrases.