Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.140.201.179
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp_probe /
node_modules /
node-gyp /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
Find-VS2017.cs
9.34
KB
-rw-r--r--
1985-10-26 08:15
build.js
7.24
KB
-rw-r--r--
1985-10-26 08:15
clean.js
378
B
-rw-r--r--
1985-10-26 08:15
configure.js
17.29
KB
-rw-r--r--
1985-10-26 08:15
find-node-directory.js
2.33
KB
-rw-r--r--
1985-10-26 08:15
find-vs2017.js
1.53
KB
-rw-r--r--
1985-10-26 08:15
install.js
14.78
KB
-rw-r--r--
1985-10-26 08:15
list.js
718
B
-rw-r--r--
1985-10-26 08:15
node-gyp.js
4.76
KB
-rw-r--r--
1985-10-26 08:15
process-release.js
5.99
KB
-rw-r--r--
1985-10-26 08:15
rebuild.js
308
B
-rw-r--r--
1985-10-26 08:15
remove.js
1.29
KB
-rw-r--r--
1985-10-26 08:15
Save
Rename
var path = require('path') , log = require('npmlog') function findNodeDirectory(scriptLocation, processObj) { // set dirname and process if not passed in // this facilitates regression tests if (scriptLocation === undefined) { scriptLocation = __dirname } if (processObj === undefined) { processObj = process } // Have a look to see what is above us, to try and work out where we are npm_parent_directory = path.join(scriptLocation, '../../../..') log.verbose('node-gyp root', 'npm_parent_directory is ' + path.basename(npm_parent_directory)) node_root_dir = "" log.verbose('node-gyp root', 'Finding node root directory') if (path.basename(npm_parent_directory) === 'deps') { // We are in a build directory where this script lives in // deps/npm/node_modules/node-gyp/lib node_root_dir = path.join(npm_parent_directory, '..') log.verbose('node-gyp root', 'in build directory, root = ' + node_root_dir) } else if (path.basename(npm_parent_directory) === 'node_modules') { // We are in a node install directory where this script lives in // lib/node_modules/npm/node_modules/node-gyp/lib or // node_modules/npm/node_modules/node-gyp/lib depending on the // platform if (processObj.platform === 'win32') { node_root_dir = path.join(npm_parent_directory, '..') } else { node_root_dir = path.join(npm_parent_directory, '../..') } log.verbose('node-gyp root', 'in install directory, root = ' + node_root_dir) } else { // We don't know where we are, try working it out from the location // of the node binary var node_dir = path.dirname(processObj.execPath) var directory_up = path.basename(node_dir) if (directory_up === 'bin') { node_root_dir = path.join(node_dir, '..') } else if (directory_up === 'Release' || directory_up === 'Debug') { // If we are a recently built node, and the directory structure // is that of a repository. If we are on Windows then we only need // to go one level up, everything else, two if (processObj.platform === 'win32') { node_root_dir = path.join(node_dir, '..') } else { node_root_dir = path.join(node_dir, '../..') } } // Else return the default blank, "". } return node_root_dir } module.exports = findNodeDirectory