From: Mathias Florin <[email protected]>

The patch sends a deauthentication package after each WPS exchange if we do
not associate to the AP using reaver (-A switch)
We can use aireplay-ng -1 5 -e YOUR_SSID mon0 to authenticate and the first
WPS exchange is done successfully.
After the first exchange the session will be locked for 1 minute / 60
seconds if we do not send a deauthentication packet which will slow down
the cracking speed considerably.

Signed-off-by: Mathias Florin <[email protected]>
---
Index: reaver-r113/src/exchange.c
==============================
=====================================
--- reaver-r113.orig/src/exchange.c    2012-10-13 20:20:23.452675557 +0200
+++ reaver-r113/src/exchange.c    2012-10-13 20:29:39.741682088 +0200
@@ -273,7 +273,12 @@
         send_termination();
         stop_timer();
     }
-
+
+    if (get_external_association())
+    {
+        deauthenticate();
+    }
+
     return ret_val;
 }
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to