| Server IP : 216.238.66.20 / Your IP : 216.73.216.199 Web Server : nginx/1.30.4 System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/fingerprint.gamliel.mx/htdocs/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--<script src="https://cdn.jsdelivr.net/npm/biri/dist/biri.min.js"></script>-->
</head>
<body>
<b>Hash:</b> <span id='hash-code'></span><br>
<b>Biri:</b> <span id='biri-code'></span><br>
<canvas id='myCanvas' width='200' height='40' style='border:1px solid #000000; display: none'></canvas>
<script>
async function sha256(string) {
const utf8 = new TextEncoder().encode(string);
const hashBuffer = await crypto.subtle.digest('SHA-256', utf8);
const hashArray = Array.from(new Uint8Array(hashBuffer));
return hashArray.map((bytes) => bytes.toString(16).padStart(2, '0'))
.join('');
}
async function canvasHash() {
var canvas = document.getElementById("myCanvas");
var ctx = canvas.getContext("2d");
ctx.fillStyle = "rgb(255,0,255)";
ctx.beginPath();
ctx.rect(20, 20, 150, 100);
ctx.fill();
ctx.stroke();
ctx.closePath();
ctx.beginPath();
ctx.fillStyle = "rgb(0,255,255)";
ctx.arc(50, 50, 50, 0, Math.PI * 2, true);
ctx.fill();
ctx.stroke();
ctx.closePath();
txt = 'abz190#$%^@£éú';
ctx.textBaseline = "top";
ctx.font = '17px "Arial 17"';
ctx.textBaseline = "alphabetic";
ctx.fillStyle = "rgb(255,5,5)";
ctx.rotate(.03);
ctx.fillText(txt, 4, 17);
ctx.fillStyle = "rgb(155,255,5)";
ctx.shadowBlur=8;
ctx.shadowColor="red";
ctx.fillRect(20,12,100,5);
// hashing function
src = canvas.toDataURL();
hash = 0;
for (i = 0; i < src.length; i++) {
char = src.charCodeAt(i);
hash = ((hash<<5)-hash)+char;
hash = hash & hash;
}
return hash;
}
(async () => {
let hash = await canvasHash();
let data = [
hash,
navigator.languages,
navigator.userAgent
];
data = data.join('-');
data = await sha256(data);
document.getElementById('hash-code').innerText = data;
/*
const uniqueId = await biri();
document.getElementById('biri-code').innerText = uniqueId;
*/
})();
</script>
</body>
</html>