Group: User Level:
Posts: 274 Joined: 9/20/2020 IP-Address: saved
|
<html> <title>Hacxx Huawei Unlocker</title> <body bgColor=#5e717f><br> <table style="background: #bed5e2;" cellspacing=0 cellpadding=0 align=center> <tr> <td style="border-right: #d8d8d8 0.75pt solid; padding-right: 6pt; border-top: #d8d8d8 0.75pt solid; padding-left: 6pt; background: #567280; padding-bottom: 6pt; border-left: #d8d8d8 0.75pt solid; width: 317.5pt; padding-top: 6pt;"> <p><b><span style="font-size: 10pt; color: #ff9900; font-family: verdana; mso-ansi-language: en">Hacxx Huawei Unlocker</span></b></p> </td> </tr> <tr> <td style="padding-right: 6pt; padding-left: 6pt; padding-bottom: 6pt; padding-top: 6pt"><br> <center><table border=0 cellspacing=0 cellpadding=0><tr><td> <p style="margin:0cm;margin-bottom:.0001pt;line-height:115%"> <span style="font-size:9.0pt;font-family:verdana;">Generate unlocking code for Huawei phones<br><br></p> </td></tr></table> <center> <table> <form id="unlocker-form" style="border-style: solid; border-width: 1px; width: 417px; height: 202px;"> <div style="text-align:center;"> <label for="imei-input" style="margin-top: 10px;">IMEI</label> <input type="text" id="imei-input" name="imei" style="height: 30px; width: 200px; margin-bottom: 10px;"> <br> <label for="code-input" style="margin-top: 10px;">Code</label> <input type="text" id="code-input" name="code" style="height: 30px; width: 200px; margin-bottom: 10px;"> <br> <button type="button" id="calculate-button" style="height: 30px; width: 100px;">Calc</button> <button type="button" id="close-button" style="height: 30px; width: 100px; margin-left: 10px;">Close</button> <br><br> </div> </form> <script> async function md5Hash(data) { const buffer = (typeof data === 'string') ? new TextEncoder().encode(data) : data; const hash = await crypto.subtle.digest('md5', buffer); return Array.from(new Uint8Array(hash)) .map(b => b.toString(16).padStart(2, '0')) .join(''); }
function checkHex(gHex) { // This function will append a '0' if the Hex Value is not even. if (gHex.length % 2 !== 0) { gHex = "0" + gHex; } return gHex; }
// Attach event listeners to buttons document.getElementById("calculate-button").addEventListener("click", async function() { // Perform calculation var imei = document.getElementById("imei-input").value; var hex_imei = ""; for (var i = 0; i < imei.length; i++) { hex_imei += imei.charCodeAt(i).toString(16); } hex_imei = checkHex(hex_imei); var hex_code = await md5Hash(hex_imei + "00000000"); document.getElementById("code-input").value = hex_code; });
document.getElementById("close-button").addEventListener("click", function() { // Display a message indicating that the window will be closed alert("This window will be closed."); // Close form window.close(); }); </script> <table style="background: #bed5e2; width: 317.5pt; border-collapse: collapse; mso-padding-alt: 6.0pt 6.0pt 6.0pt 6.0pt" cellspacing=0 cellpadding=0 width=690 align=center bgColor=#bed5e2 border=0> <tr><td style="border-right: #d8d8d8 0.75pt solid; padding-right: 6pt; border-top: #d8d8d8 0.75pt solid; padding-left: 6pt; background: #567280; padding-bottom: 6pt; border-left: #d8d8d8 0.75pt solid; width: 450pt; padding-top: 6pt; border-bottom: medium none"> <center><p><b><span style="font-size: 10pt; color: #c2dceb; font-family: verdana; mso-ansi-language: EN">Copyright © 2023 Hacxx Underground</span></center></b> </td> </TR> </table> </body></html>
|