Skip to content

Commit

Permalink
join Tenda, NOVA, NOVE and BrosTrend candidates
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Oct 25, 2024
1 parent 6ff4bfb commit 4e11faa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 52 deletions.
44 changes: 1 addition & 43 deletions hcxpsktool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -2952,7 +2916,6 @@ eudateflag = false;
hb5flag = false;
maconlyflag = false;
netgearflag = false;
novaflag = false;
noessidcombinationflag = false;
phomeflag = false;
podaflag = false;
Expand All @@ -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},
Expand Down Expand Up @@ -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;
Expand Down
17 changes: 8 additions & 9 deletions include/hcxpsktool.h
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 4e11faa

Please sign in to comment.