���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
node_modules
/
keygrip
/
Viewing: index.js
/*! * keygrip * Copyright(c) 2011-2014 Jed Schmidt * MIT Licensed */ 'use strict' var compare = require('tsscmp') var crypto = require("crypto") function Keygrip(keys, algorithm, encoding) { if (!algorithm) algorithm = "sha1"; if (!encoding) encoding = "base64"; if (!(this instanceof Keygrip)) return new Keygrip(keys, algorithm, encoding) if (!keys || !(0 in keys)) { throw new Error("Keys must be provided.") } function sign(data, key) { return crypto .createHmac(algorithm, key) .update(data).digest(encoding) .replace(/\/|\+|=/g, function(x) { return ({ "/": "_", "+": "-", "=": "" })[x] }) } this.sign = function(data){ return sign(data, keys[0]) } this.verify = function(data, digest) { return this.index(data, digest) > -1 } this.index = function(data, digest) { for (var i = 0, l = keys.length; i < l; i++) { if (compare(digest, sign(data, keys[i]))) { return i } } return -1 } } Keygrip.sign = Keygrip.verify = Keygrip.index = function() { throw new Error("Usage: require('keygrip')(<array-of-keys>)") } module.exports = Keygrip
Coded With 💗 by
0x6ick Mod By V1rus_Alfa