mirror of
https://github.com/wiire-a/pixiewps.git
synced 2025-07-27 15:54:29 +02:00
Removed redundant check for PIN found
This commit is contained in:
parent
86292d5f89
commit
6e60c990f5
@ -1336,12 +1336,11 @@ usage_err:
|
|||||||
|
|
||||||
printf("\n Pixiewps %s\n", SHORT_VERSION);
|
printf("\n Pixiewps %s\n", SHORT_VERSION);
|
||||||
|
|
||||||
if (found_p_mode) {
|
if (found_p_mode != NONE) {
|
||||||
if (wps->verbosity > 1) {
|
if (wps->verbosity > 1) {
|
||||||
printf("\n [?] Mode: %u (%s)", found_p_mode, p_mode_name[found_p_mode]);
|
printf("\n [?] Mode: %u (%s)", found_p_mode, p_mode_name[found_p_mode]);
|
||||||
}
|
}
|
||||||
if (wps->verbosity > 2) {
|
if (wps->verbosity > 2) {
|
||||||
if (found_p_mode != NONE) {
|
|
||||||
if (found_p_mode == RTL819x) {
|
if (found_p_mode == RTL819x) {
|
||||||
if (wps->nonce_seed) {
|
if (wps->nonce_seed) {
|
||||||
time_t seed_time;
|
time_t seed_time;
|
||||||
@ -1378,7 +1377,6 @@ usage_err:
|
|||||||
printf("\n [*] Seed ES1: 0x%08x", wps->s1_seed);
|
printf("\n [*] Seed ES1: 0x%08x", wps->s1_seed);
|
||||||
printf("\n [*] Seed ES2: 0x%08x", wps->s2_seed);
|
printf("\n [*] Seed ES2: 0x%08x", wps->s2_seed);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (wps->dhkey) { /* To see if AuthKey was supplied or not */
|
if (wps->dhkey) { /* To see if AuthKey was supplied or not */
|
||||||
printf("\n [*] DHKey: "); byte_array_print(wps->dhkey, WPS_HASH_LEN);
|
printf("\n [*] DHKey: "); byte_array_print(wps->dhkey, WPS_HASH_LEN);
|
||||||
printf("\n [*] KDK: "); byte_array_print(wps->kdk, WPS_HASH_LEN);
|
printf("\n [*] KDK: "); byte_array_print(wps->kdk, WPS_HASH_LEN);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user