Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function submitAuthentication()
- {
- var user = document.getElementById("user").value;
- var pwd = document.getElementById("password").value;
- document.getElementById("password").disabled = true;
- var HA1 = MD5(user + ":" + realm + ":" + pwd);
- var HA2 = MD5("GET" + ":" + uri);
- document.getElementById("hidepw").value = MD5(HA1 + ":" + nonce +
- ":" + "00000001" + ":" + "xyz" + ":" + qop + ":" + HA2);
- document.authform.submit();
- disable_fields(document.authform);
- }
Advertisement
Add Comment
Please, Sign In to add comment