05-07-2021, 12:40 PM
Its not a forum so I dont think it is using a software...Its a site (https://lastpass*com/)..this code maybe related to hash generation.
var hash = "";
if (res[0].getAttribute("type") == "trueapi") {
hash = SHA256(SHA256(fix_username(g_username) + res[0].getAttribute("type")));
}
if (hash.length != 64) {
send_website_event("multifactorauth", res[0].getAttribute("type"), g_username, "", res[0].getAttribute("challenge"));
counter = 0;
setTimeout(function(){checkMultifactorAuth();}, 250);
} else {
document.getElementById("eventdata5").value = SHA256(hash + res[0].getAttribute("challenge"));
document.getElementById("eventdata3").value = "done";
checkMultifactorAuth();
}
var hash = "";
if (res[0].getAttribute("type") == "trueapi") {
hash = SHA256(SHA256(fix_username(g_username) + res[0].getAttribute("type")));
}
if (hash.length != 64) {
send_website_event("multifactorauth", res[0].getAttribute("type"), g_username, "", res[0].getAttribute("challenge"));
counter = 0;
setTimeout(function(){checkMultifactorAuth();}, 250);
} else {
document.getElementById("eventdata5").value = SHA256(hash + res[0].getAttribute("challenge"));
document.getElementById("eventdata3").value = "done";
checkMultifactorAuth();
}