Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
quiz1 /
node_modules /
get-package-type /
[ HOME SHELL ]
Name
Size
Permission
Action
CHANGELOG.md
356
B
-rw-rw-rw-
LICENSE
1.04
KB
-rw-rw-rw-
README.md
1.01
KB
-rw-rw-rw-
async.cjs
1.16
KB
-rw-rw-rw-
cache.cjs
43
B
-rw-rw-rw-
index.cjs
210
B
-rw-rw-rw-
is-node-modules.cjs
317
B
-rw-rw-rw-
package.json
886
B
-rw-rw-rw-
sync.cjs
912
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : async.cjs
'use strict'; const path = require('path'); const {promisify} = require('util'); const readFile = promisify(require('fs').readFile); const isNodeModules = require('./is-node-modules.cjs'); const resultsCache = require('./cache.cjs'); const promiseCache = new Map(); async function getDirectoryTypeActual(directory) { if (isNodeModules(directory)) { return 'commonjs'; } try { return JSON.parse(await readFile(path.resolve(directory, 'package.json'))).type || 'commonjs'; } catch (_) { } const parent = path.dirname(directory); if (parent === directory) { return 'commonjs'; } return getDirectoryType(parent); } async function getDirectoryType(directory) { if (resultsCache.has(directory)) { return resultsCache.get(directory); } if (promiseCache.has(directory)) { return promiseCache.get(directory); } const promise = getDirectoryTypeActual(directory); promiseCache.set(directory, promise); const result = await promise; resultsCache.set(directory, result); promiseCache.delete(directory); return result; } function getPackageType(filename) { return getDirectoryType(path.resolve(path.dirname(filename))); } module.exports = getPackageType;
Close