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.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
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--
2023-02-16 16:16
clear-credentials-by-uri.js
423
B
-rw-r--r--
2023-02-16 16:16
cmd-list.js
2.17
KB
-rw-r--r--
2023-02-16 16:16
core.js
10.9
KB
-rw-r--r--
2023-02-16 16:16
defaults.js
11.45
KB
-rw-r--r--
2023-02-16 16:16
figgy-config.js
2.31
KB
-rw-r--r--
2023-02-16 16:16
gentle-fs.js
687
B
-rw-r--r--
2023-02-16 16:16
get-credentials-by-uri.js
2.16
KB
-rw-r--r--
2023-02-16 16:16
lifecycle.js
851
B
-rw-r--r--
2023-02-16 16:16
load-cafile.js
682
B
-rw-r--r--
2023-02-16 16:16
load-prefix.js
1.3
KB
-rw-r--r--
2023-02-16 16:16
nerf-dart.js
471
B
-rw-r--r--
2023-02-16 16:16
set-credentials-by-uri.js
1.24
KB
-rw-r--r--
2023-02-16 16:16
set-user.js
758
B
-rw-r--r--
2023-02-16 16:16
Save
Rename
module.exports = setUser var assert = require('assert') var path = require('path') var fs = require('fs') var mkdirp = require('gentle-fs').mkdir function setUser (cb) { var defaultConf = this.root assert(defaultConf !== Object.prototype) // If global, leave it as-is. // If not global, then set the user to the owner of the prefix folder. // Just set the default, so it can be overridden. if (this.get('global')) return cb() if (process.env.SUDO_UID) { defaultConf.user = +(process.env.SUDO_UID) return cb() } var prefix = path.resolve(this.get('prefix')) mkdirp(prefix, function (er) { if (er) return cb(er) fs.stat(prefix, function (er, st) { defaultConf.user = st && st.uid return cb(er) }) }) }