From 4e11faa3e68b1204358c692646319fbf73106d58 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 25 Oct 2024 08:14:34 +0200 Subject: [PATCH] join Tenda, NOVA, NOVE and BrosTrend candidates --- hcxpsktool.c | 44 +------------------------------------------- include/hcxpsktool.h | 17 ++++++++--------- 2 files changed, 9 insertions(+), 52 deletions(-) diff --git a/hcxpsktool.c b/hcxpsktool.c index 911237ded..dd0f4cc9f 100644 --- a/hcxpsktool.c +++ b/hcxpsktool.c @@ -40,7 +40,6 @@ static bool eudateflag; static bool hb5flag; static bool maconlyflag; static bool netgearflag; -static bool novaflag; static bool noessidcombinationflag; static bool phomeflag; static bool podaflag; @@ -287,39 +286,6 @@ for(ca = 0; ca < (sizeof(firstword) / sizeof(char *)); ca++) return; } /*===========================================================================*/ -static void keywritenova(FILE *fhout) -{ -static size_t ca; -static int cn; - -static const char *firstword[] = -{ -"above", -"cafe", "calm", "cash", "child", "come", -"dark", "down", "duck", -"face", "feed", "feel", -"green", "group", -"hair", "have", "hike", "horse", "house", -"jade", "jazz", "juice", -"labor", "lack", "lake", "like", "live", "lock", -"math", "milk", -"nine", -"occur", "ocean", "over", -"pace", "pain", "path", "photo", "piece", -"quest", -"road", -"soup", -"tall", "test", -"water", "what" -}; - -for(ca = 0; ca < (sizeof(firstword) / sizeof(char *)); ca++) - { - for (cn = 0; cn < 10000; cn++) fprintf(fhout,"%s%04d\n", firstword[ca], cn); - } -return; -} -/*===========================================================================*/ static void keywritespectrum(FILE *fhout) { static size_t ca, cs; @@ -2527,7 +2493,6 @@ if(eeupperflag == true) keywriteee(fhout, true); if(egnflag == true) keywriteegn(fhout); if(eudateflag == true) keywriteeudate(fhout); if(netgearflag == true) keywritenetgear(fhout); -if(novaflag == true) keywritenova(fhout); if(phomeflag == true) keywritephome(fhout); if(simpleflag == true) keywritesimple(fhout); if(spectrumflag == true) keywritespectrum(fhout); @@ -2890,14 +2855,13 @@ fprintf(stdout, "%s %s (C) %s ZeroBeat\n" "--maconly : print only candidates based on ACCESS POINT MAC\n" "--noessidcombination: exclude ESSID combinations\n" "--netgear : include weak NETGEAR / ORBI / NTGR_VMB / ARLO_VMB / FoxtelHub candidates\n" - "--nova : include weak NOVA candidates\n" "--spectrum : include weak MySpectrumWiFi / SpectrumSetup / MyCharterWiFi candidates\n" " list will be > 2.2GB\n" "--digit10 : include weak 10 digit candidates (INFINITUM, ALHN, INEA, VodafoneNet, VIVACOM)\n" " list will be > 1GB\n" "--phome : include weak PEGATRON / Vantiva candidates (CBCI, HOME, [SP/XF]SETUP)\n" " list will be > 2.9GB\n" - "--tenda : include weak TENDA candidates\n" + "--tenda : include weak Tenda / NOVA / NOVE / BrosTrend candidates\n" "--ee : include weak 5GHz-EE / BrightBox / EE / EE-BrightBox candidates\n" " list will be > 1.3GB\n" "--eeupper : include weak EE-Hub candidates\n" @@ -2952,7 +2916,6 @@ eudateflag = false; hb5flag = false; maconlyflag = false; netgearflag = false; -novaflag = false; noessidcombinationflag = false; phomeflag = false; podaflag = false; @@ -2977,7 +2940,6 @@ static const struct option long_options[] = {"eudate", no_argument, NULL, HCXD_EUDATE}, {"maconly", no_argument, NULL, HCXD_MACONLY}, {"netgear", no_argument, NULL, HCXD_NETGEAR}, - {"nova", no_argument, NULL, HCXD_NOVA}, {"noessidcombination", no_argument, NULL, HCXD_NOESSIDCOMBINATION}, {"phome", no_argument, NULL, HCXD_PHOME}, {"simple", no_argument, NULL, HCXD_SIMPLE}, @@ -3007,10 +2969,6 @@ while((auswahl = getopt_long (argc, argv, short_options, long_options, &index)) netgearflag = true; break; - case HCXD_NOVA: - novaflag = true; - break; - case HCXD_SPECTRUM: spectrumflag = true; break; diff --git a/include/hcxpsktool.h b/include/hcxpsktool.h index bd25847c9..ceb7189a0 100644 --- a/include/hcxpsktool.h +++ b/include/hcxpsktool.h @@ -13,15 +13,14 @@ #define HCXD_EUDATE 7 #define HCXD_MACONLY 8 #define HCXD_NETGEAR 9 -#define HCXD_NOVA 10 -#define HCXD_NOESSIDCOMBINATION 11 -#define HCXD_PHOME 12 -#define HCXD_SIMPLE 13 -#define HCXD_SPECTRUM 14 -#define HCXD_TENDA 15 -#define HCXD_USDATE 16 -#define HCXD_WEAKPASS 17 -#define HCXD_WPSKEYS 18 +#define HCXD_NOESSIDCOMBINATION 10 +#define HCXD_PHOME 11 +#define HCXD_SIMPLE 12 +#define HCXD_SPECTRUM 13 +#define HCXD_TENDA 14 +#define HCXD_USDATE 15 +#define HCXD_WEAKPASS 16 +#define HCXD_WPSKEYS 17 #define HCXD_HELP 'h' #define HCXD_VERSION 'v'