05-07-2021, 01:35 PM
well given this line
hash = SHA256(SHA256(fix_username(g_username) + res[0].getAttribute("type")));
it is seems to be doubled sha256 and the username (g_username) is processed by another function (fix_username) the output is then appended by the output from res[0].getAttribute("type")
hash = SHA256(SHA256(fix_username(g_username) + res[0].getAttribute("type")));
it is seems to be doubled sha256 and the username (g_username) is processed by another function (fix_username) the output is then appended by the output from res[0].getAttribute("type")