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 : stream.ts
import { Readable } from 'stream'; import AsyncReader from '../readers/async'; import Settings from '../settings'; export default class StreamProvider { protected readonly _reader: AsyncReader = new AsyncReader(this._root, this._settings); protected readonly _stream: Readable = new Readable({ objectMode: true, read: () => { /* noop */ }, destroy: () => { if (!this._reader.isDestroyed) { this._reader.destroy(); } } }); constructor(private readonly _root: string, private readonly _settings: Settings) { } public read(): Readable { this._reader.onError((error) => { this._stream.emit('error', error); }); this._reader.onEntry((entry) => { this._stream.push(entry); }); this._reader.onEnd(() => { this._stream.push(null); }); this._reader.read(); return this._stream; } }
Close