From 94d6dddc26a2612a125f6b9e52451bef9ef9ceac Mon Sep 17 00:00:00 2001 From: rofl0r Date: Wed, 29 Nov 2017 23:03:21 +0000 Subject: [PATCH] fix wrong display of seed for es2 --- src/pixiewps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pixiewps.c b/src/pixiewps.c index dc22f90..fbdd662 100644 --- a/src/pixiewps.c +++ b/src/pixiewps.c @@ -345,7 +345,7 @@ static int find_rtl_es_dir(struct global *wps, char *pin, int dir) DEBUG_PRINT("Trying (%10u) with E-S2: ", wps->s1_seed + j); DEBUG_PRINT_ARRAY(wps->e_s2, WPS_SECRET_NONCE_LEN); if (crack_second_half(wps, pin)) { - wps->s2_seed = wps->s2_seed + j; + wps->s2_seed = wps->s1_seed + j; DEBUG_PRINT("Pin found"); return RTL819x; }