Many of users are e-mailing me because they tried reaver and got some sort of errors like "WPS transaction failed (code: 0x02) " this error occurs because of the following reasons mentioned below.
- Low Signal Strength
- Weak Firewall of Router or Modem
- WPS is Locked
#1 Low Signal Strength
If you have low signals i.e above -80dbi or below 20dbi then you must have such type of error because reaver is unable to link its wps pin connection with router.
#2 Weak Firewall of Router
Yes , this is also one of the big reason why peoples get such type of error , the logic behind this is a bit logical i.e when reaver sends wps pin to router or modem and it accepts and after few successful pin attempts router go down because reaver is sending him request,s massively which cause router to crash and after reaver will be unable to inject the further pins into router.
Solution :-
You can command reaver to wait for few seconds after each pin attempt for this you will use " -d 3 " after your command and 3 means to wait for 3 seconds and after inject the another pin.
Example is below
reaver -i mon0 -b BSSID -c Channel No -d 3 -w -vv
#3 WPS is locked
Yes if wps is locked then you can not inject your pins via reaver , it must be unlocked and to find that wps is locked you can type the below command.
wash -i mon0
You can also try my trick which i use to unlock some routers who have locked wps. i usually dos attack on routers which cause the routers to restart themselves.
I Perform this attack using MDK3 and you can also give it a try by typing the below command
mdk3 mon0 a -a bssidthis will dos the router and cause him to restart himself and when its restarted , wps will be unlocked.
And also learn how to jam wifi in your area so you can create panic between the owner of router in which i am sure he will restart the router or will remove the security and to learn click here.
And if you are new to kali linux , reaver before typing any above command type the below command to enable your monitor interface
airmon-ng start wlan0