Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
@nodelib /
fs.walk /
out /
readers /
[ HOME SHELL ]
Name
Size
Permission
Action
async.d.ts
1.12
KB
-rw-r--r--
async.d.ts.map
1.07
KB
-rw-r--r--
async.js
3.13
KB
-rw-r--r--
async.spec.d.ts
52
B
-rw-r--r--
async.spec.d.ts.map
125
B
-rw-r--r--
async.spec.js
7.86
KB
-rw-r--r--
common.d.ts
499
B
-rw-r--r--
common.d.ts.map
559
B
-rw-r--r--
common.js
1.06
KB
-rw-r--r--
common.spec.d.ts
53
B
-rw-r--r--
common.spec.d.ts.map
127
B
-rw-r--r--
common.spec.js
4.07
KB
-rw-r--r--
reader.d.ts
245
B
-rw-r--r--
reader.d.ts.map
306
B
-rw-r--r--
reader.js
369
B
-rw-r--r--
reader.spec.d.ts
53
B
-rw-r--r--
reader.spec.d.ts.map
127
B
-rw-r--r--
reader.spec.js
912
B
-rw-r--r--
sync.d.ts
521
B
-rw-r--r--
sync.d.ts.map
560
B
-rw-r--r--
sync.js
1.9
KB
-rw-r--r--
sync.spec.d.ts
51
B
-rw-r--r--
sync.spec.d.ts.map
123
B
-rw-r--r--
sync.spec.js
4.69
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sync.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fsScandir = require("@nodelib/fs.scandir"); const common = require("./common"); const reader_1 = require("./reader"); class SyncReader extends reader_1.default { constructor() { super(...arguments); this._scandir = fsScandir.scandirSync; this._storage = new Set(); this._queue = new Set(); } read() { this._pushToQueue(this._root, this._settings.basePath); this._handleQueue(); return [...this._storage]; } _pushToQueue(directory, base) { this._queue.add({ directory, base }); } _handleQueue() { for (const item of this._queue.values()) { this._handleDirectory(item.directory, item.base); } } _handleDirectory(directory, base) { try { const entries = this._scandir(directory, this._settings.fsScandirSettings); for (const entry of entries) { this._handleEntry(entry, base); } } catch (error) { this._handleError(error); } } _handleError(error) { if (!common.isFatalError(this._settings, error)) { return; } throw error; } _handleEntry(entry, base) { const fullpath = entry.path; if (base !== undefined) { entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator); } if (common.isAppliedFilter(this._settings.entryFilter, entry)) { this._pushToStorage(entry); } if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) { this._pushToQueue(fullpath, entry.path); } } _pushToStorage(entry) { this._storage.add(entry); } } exports.default = SyncReader;
Close