|
|
@ -69,12 +69,12 @@ namespace tools
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
|
|
bool alnum = true;
|
|
|
|
bool alnum = true;
|
|
|
|
for (auto c: hash)
|
|
|
|
for (auto c: fields[3])
|
|
|
|
if (!isalnum(c))
|
|
|
|
if (!isalnum(c))
|
|
|
|
alnum = false;
|
|
|
|
alnum = false;
|
|
|
|
if (hash.size() != 64 && !alnum)
|
|
|
|
if (fields[3].size() != 64 && !alnum)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
MWARNING("Invalid hash: " << hash);
|
|
|
|
MWARNING("Invalid hash: " << fields[3]);
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|