Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
loader-utils /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
hash
[ DIR ]
drwxr-xr-x
getCurrentRequest.js
359
B
-rw-r--r--
getHashDigest.js
2.03
KB
-rw-r--r--
getOptions.js
398
B
-rw-r--r--
getRemainingRequest.js
371
B
-rw-r--r--
index.js
926
B
-rw-r--r--
interpolateName.js
3.69
KB
-rw-r--r--
isUrlRequest.js
709
B
-rw-r--r--
parseQuery.js
1.48
KB
-rw-r--r--
parseString.js
436
B
-rw-r--r--
stringifyRequest.js
1.64
KB
-rw-r--r--
urlToRequest.js
1.66
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : getHashDigest.js
'use strict'; const baseEncodeTables = { 26: 'abcdefghijklmnopqrstuvwxyz', 32: '123456789abcdefghjkmnpqrstuvwxyz', // no 0lio 36: '0123456789abcdefghijklmnopqrstuvwxyz', 49: 'abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ', // no lIO 52: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', 58: '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ', // no 0lIO 62: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', 64: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_', }; function encodeBufferToBase(buffer, base) { const encodeTable = baseEncodeTables[base]; if (!encodeTable) { throw new Error('Unknown encoding base' + base); } const readLength = buffer.length; const Big = require('big.js'); Big.RM = Big.DP = 0; let b = new Big(0); for (let i = readLength - 1; i >= 0; i--) { b = b.times(256).plus(buffer[i]); } let output = ''; while (b.gt(0)) { output = encodeTable[b.mod(base)] + output; b = b.div(base); } Big.DP = 20; Big.RM = 1; return output; } let createMd4 = undefined; function getHashDigest(buffer, hashType, digestType, maxLength) { hashType = hashType || 'md4'; maxLength = maxLength || 9999; let hash; try { hash = require('crypto').createHash(hashType); } catch (error) { if (error.code === 'ERR_OSSL_EVP_UNSUPPORTED' && hashType === 'md4') { if (createMd4 === undefined) { createMd4 = require('./hash/md4'); } hash = createMd4(); } if (!hash) { throw error; } } hash.update(buffer); if ( digestType === 'base26' || digestType === 'base32' || digestType === 'base36' || digestType === 'base49' || digestType === 'base52' || digestType === 'base58' || digestType === 'base62' || digestType === 'base64' ) { return encodeBufferToBase(hash.digest(), digestType.substr(4)).substr( 0, maxLength ); } else { return hash.digest(digestType || 'hex').substr(0, maxLength); } } module.exports = getHashDigest;
Close