more some weak candidate improvements
@@ -30,6 +30,7 @@ static int thisyear;
static bool netgearflag;
static bool askeyarrisflag;
static bool digit10flag;
+static bool hb5flag;
static bool podaflag;
static bool phomeflag;
static bool tendaflag;
@@ -1267,7 +1268,8 @@ static char essidtmp[PSKSTRING_LEN_MAX] = {};
if(essidlen < 7) return;
if(memcmp(essid, hotbox , 6) != 0) return;
-for(k1 = 500000000; k1 < 560000000; k1++) fprintf(fhout, "%010d\n", k1);
+if(hb5flag == false) for(k1 = 500000000; k1 < 560000000; k1++) fprintf(fhout, "%010d\n", k1);
+hb5flag = true;
if(essidlen != 11) return;
if(essid[6] != '-') return;
if((!isxdigit(essid[7])) || (!isxdigit(essid[8])) || (!isxdigit(essid[9])) || (!isxdigit(essid[10]))) return;
@@ -2294,6 +2296,7 @@ static char *pskname = NULL;
netgearflag = false;
askeyarrisflag = false;
digit10flag = false;
+hb5flag = false;
podaflag = false;
phomeflag = false;
tendaflag = false;
