Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
libnpmexec /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
file-exists.js
649
B
-rw-r--r--
2023-11-23 07:39
get-bin-from-manifest.js
640
B
-rw-r--r--
2023-11-23 07:39
index.js
8.49
KB
-rw-r--r--
2023-11-23 07:39
is-windows.js
46
B
-rw-r--r--
2023-11-23 07:39
no-tty.js
44
B
-rw-r--r--
2023-11-23 07:39
run-script.js
1.74
KB
-rw-r--r--
2023-11-23 07:39
Save
Rename
const { resolve } = require('path') const { stat } = require('fs/promises') const walkUp = require('walk-up-path') const fileExists = async (file) => { try { const res = await stat(file) return res.isFile() } catch { return false } } const localFileExists = async (dir, binName, root) => { for (const path of walkUp(dir)) { const binDir = resolve(path, 'node_modules', '.bin') if (await fileExists(resolve(binDir, binName))) { return binDir } if (path.toLowerCase() === resolve(root).toLowerCase()) { return false } } return false } module.exports = { fileExists, localFileExists, }