Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.23.61.205
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
npm /
lib /
config /
Delete
Unzip
Name
Size
Permission
Date
Action
bin-links.js
716
B
-rw-r--r--
2021-03-10 14:36
clear-credentials-by-uri.js
423
B
-rw-r--r--
2021-03-10 14:36
cmd-list.js
2.17
KB
-rw-r--r--
2021-03-10 14:36
core.js
10.9
KB
-rw-r--r--
2021-03-10 14:36
defaults.js
11.45
KB
-rw-r--r--
2021-03-10 14:36
figgy-config.js
2.31
KB
-rw-r--r--
2021-03-10 14:36
gentle-fs.js
687
B
-rw-r--r--
2021-03-10 14:36
get-credentials-by-uri.js
2.16
KB
-rw-r--r--
2021-03-10 14:36
lifecycle.js
851
B
-rw-r--r--
2021-03-10 14:36
load-cafile.js
682
B
-rw-r--r--
2021-03-10 14:36
load-prefix.js
1.3
KB
-rw-r--r--
2021-03-10 14:36
nerf-dart.js
471
B
-rw-r--r--
2021-03-10 14:36
set-credentials-by-uri.js
1.24
KB
-rw-r--r--
2021-03-10 14:36
set-user.js
758
B
-rw-r--r--
2021-03-10 14:36
Save
Rename
module.exports = loadCAFile var fs = require('fs') function loadCAFile (cafilePath, cb) { if (!cafilePath) return process.nextTick(cb) fs.readFile(cafilePath, 'utf8', afterCARead.bind(this)) function afterCARead (er, cadata) { if (er) { // previous cafile no longer exists, so just continue on gracefully if (er.code === 'ENOENT') return cb() return cb(er) } var delim = '-----END CERTIFICATE-----' var output output = cadata .split(delim) .filter(function (xs) { return !!xs.trim() }) .map(function (xs) { return xs.trimLeft() + delim }) this.set('ca', output) cb(null) } }