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.119
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 /
randomfill /
Delete
Unzip
Name
Size
Permission
Date
Action
.travis.yml
319
B
-rw-r--r--
2022-04-21 14:26
.zuul.yml
9
B
-rw-r--r--
2022-04-21 14:26
LICENSE
1.05
KB
-rw-r--r--
2022-04-21 14:26
README.md
459
B
-rw-r--r--
2022-04-21 14:26
browser.js
2.93
KB
-rw-r--r--
2022-04-21 14:26
index.js
266
B
-rw-r--r--
2022-04-21 14:26
package.json
897
B
-rw-r--r--
2022-04-21 14:26
test.js
821
B
-rw-r--r--
2022-04-21 14:26
Save
Rename
var test = require('tape') var crypto = require('./browser') var Buffer = require('safe-buffer').Buffer test('sync', function (t) { t.test('first', function (t) { const buf = Buffer.alloc(10) const before = buf.toString('hex') crypto.randomFillSync(buf, 5, 5) const after = buf.toString('hex') t.notEqual(before, after) t.equal(before.slice(0, 10), after.slice(0, 10)) t.end() }) }) test('async', function (t) { t.test('first', function (t) { const buf = Buffer.alloc(10) const before = buf.toString('hex') crypto.randomFill(buf, 5, 5, function (err, bufa) { t.error(err) const after = bufa.toString('hex') t.notEqual(before, after) t.equal(before.slice(0, 10), after.slice(0, 10)) t.ok(buf === bufa, 'same buffer') t.end() }) }) })