/*
* Reaver - All possible WPS PIN combinations
* Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*
* In addition, as a special exception, the copyright holders give
* permission to link the code of portions of this program with the
* OpenSSL library under certain conditions as described in each
* individual source file, and distribute linked combinations
* including the two.
* You must obey the GNU General Public License in all respects
* for all of the code used other than OpenSSL. * If you modify
* file(s) with this exception, you may extend this exception to your
* version of the file(s), but you are not obligated to do so. * If you
* do not wish to do so, delete this exception statement from your
* version. * If you delete this exception statement from all source
* files in the program, then also delete it here.
*/
#include "keys.h"
/* Arrays of possible pin combinations. Pins with a priority field of 1 get tried first. */
struct key k1[P1_SIZE] = {
{ "1234", 1 },
{ "1186", 1 },
{ "1883", 1 },
{ "1653", 1 },
{ "8820", 1 },
{ "1835", 1 },
{ "8847", 1 },
{ "1670", 1 },
{ "4329", 1 },
{ "1340", 1 },
{ "2417", 1 },
{ "8224", 1 },
{ "4315", 1 },
{ "9901", 1 },
{ "0934", 1 },
{ "1562", 1 },
{ "7996", 1 },
{ "0751", 1 },
{ "1957", 1 },
{ "3632", 1 },
{ "4049", 1 },
{ "6431", 1 },
{ "3555", 1 },
{ "4522", 1 },
{ "4545", 1 },
{ "8345", 1 },
{ "5141", 1 },
{ "6810", 1 },
{ "6487", 1 },
{ "9575", 1 },
{ "0996", 1 },
{ "5482", 1 },
{ "1111", 1 },
{ "7654", 1 },
{ "7442", 1 },
{ "3663", 1 },
{ "3722", 1 },
{ "3442", 1 },
{ "3365", 1 },
{ "3357", 1 },
{ "3205", 1 },
{ "3495", 1 },
{ "3416", 1 },
{ "9999", 1 },
{ "3795", 1 },
{ "8388", 1 },
{ "8667", 1 },
{ "5473", 1 },
{ "0630", 1 },
{ "0000", 1 },
{ "0001", 0 },
{ "0002", 0 },
{ "0003", 0 },
{ "0004", 0 },
{ "0005", 0 },
{ "0006", 0 },
{ "0007", 0 },
{ "0008", 0 },
{ "0009", 0 },
{ "0010", 0 },
{ "0011", 0 },
{ "0012", 0 },
{ "0013", 0 },
{ "0014", 0 },
{ "0015", 0 },
{ "0016", 0 },
{ "0017", 0 },
{ "0018", 0 },
{ "0019", 0 },
{ "0020", 0 },
{ "0021", 0 },
{ "0022", 0 },
...
struct key k2[P2_SIZE] = {
{ "567", 1 },
{ "642", 1 },
{ "648", 1 },
{ "806", 1 },
{ "290", 1 },
{ "560", 1 },
{ "876", 1 },
{ "452", 1 },
{ "000", 1 },
{ "001", 0 },
{ "002", 0 },
{ "003", 0 },
{ "004", 0 },
{ "005", 0 },
{ "006", 0 },
{ "007", 0 },
{ "008", 0 },
{ "009", 0 },
{ "010", 0 },
{ "011", 0 },
{ "012", 0 },
{ "013", 0 },
{ "014", 0 },
{ "015", 0 },
{ "016", 0 },
{ "017", 0 },
{ "018", 0 },
{ "019", 0 },
{ "020", 0 },
{ "021", 0 },
{ "022", 0 },
{ "023", 0 },
{ "024", 0 },
{ "025", 0 },
{ "026", 0 },
{ "027", 0 },
{ "028", 0 },
{ "029", 0 },
{ "030", 0 },
{ "031", 0 },
{ "032", 0 },
{ "033", 0 },
{ "034", 0 },
{ "035", 0 },
{ "036", 0 },
{ "037", 0 },
{ "038", 0 },
{ "039", 0 },
{ "040", 0 },
{ "041", 0 },
{ "042", 0 },
{ "043", 0 },
{ "044", 0 },
{ "045", 0 },
{ "046", 0 },
{ "047", 0 },
{ "048", 0 },
{ "049", 0 },
{ "050", 0 },
{ "051", 0 },
{ "052", 0 },
{ "053", 0 },
{ "054", 0 },
{ "055", 0 },
{ "056", 0 },
{ "057", 0 },
{ "058", 0 },
...