Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
iNetty /
node_modules /
sha.js /
Delete
Unzip
Name
Size
Permission
Date
Action
test
[ DIR ]
drwxr-xr-x
2022-04-21 14:30
.travis.yml
215
B
-rw-r--r--
2022-04-21 14:26
LICENSE
2.5
KB
-rw-r--r--
2022-04-21 14:26
README.md
1.73
KB
-rw-r--r--
2022-04-21 14:26
bin.js
991
B
-rw-r--r--
2022-04-21 14:26
hash.js
1.84
KB
-rw-r--r--
2022-04-21 14:26
index.js
468
B
-rw-r--r--
2022-04-21 14:26
package.json
833
B
-rw-r--r--
2022-04-21 14:26
sha.js
1.87
KB
-rw-r--r--
2022-04-21 14:26
sha1.js
1.98
KB
-rw-r--r--
2022-04-21 14:26
sha224.js
1.07
KB
-rw-r--r--
2022-04-21 14:26
sha256.js
3.2
KB
-rw-r--r--
2022-04-21 14:26
sha384.js
1.14
KB
-rw-r--r--
2022-04-21 14:26
sha512.js
7.01
KB
-rw-r--r--
2022-04-21 14:26
Save
Rename
var Buffer = require('safe-buffer').Buffer // prototype class for hash functions function Hash (blockSize, finalSize) { this._block = Buffer.alloc(blockSize) this._finalSize = finalSize this._blockSize = blockSize this._len = 0 } Hash.prototype.update = function (data, enc) { if (typeof data === 'string') { enc = enc || 'utf8' data = Buffer.from(data, enc) } var block = this._block var blockSize = this._blockSize var length = data.length var accum = this._len for (var offset = 0; offset < length;) { var assigned = accum % blockSize var remainder = Math.min(length - offset, blockSize - assigned) for (var i = 0; i < remainder; i++) { block[assigned + i] = data[offset + i] } accum += remainder offset += remainder if ((accum % blockSize) === 0) { this._update(block) } } this._len += length return this } Hash.prototype.digest = function (enc) { var rem = this._len % this._blockSize this._block[rem] = 0x80 // zero (rem + 1) trailing bits, where (rem + 1) is the smallest // non-negative solution to the equation (length + 1 + (rem + 1)) === finalSize mod blockSize this._block.fill(0, rem + 1) if (rem >= this._finalSize) { this._update(this._block) this._block.fill(0) } var bits = this._len * 8 // uint32 if (bits <= 0xffffffff) { this._block.writeUInt32BE(bits, this._blockSize - 4) // uint64 } else { var lowBits = (bits & 0xffffffff) >>> 0 var highBits = (bits - lowBits) / 0x100000000 this._block.writeUInt32BE(highBits, this._blockSize - 8) this._block.writeUInt32BE(lowBits, this._blockSize - 4) } this._update(this._block) var hash = this._hash() return enc ? hash.toString(enc) : hash } Hash.prototype._update = function () { throw new Error('_update must be implemented by subclass') } module.exports = Hash