⚝
One Hat Cyber Team
⚝
Your IP:
18.190.154.24
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
node_modules
/
npm
/
lib
/
utils
/
View File Name :
gunzip-maybe.js
var duplex = require('mississippi').duplex var through = require('mississippi').through var zlib = require('zlib') function hasGzipHeader (c) { return c[0] === 0x1F && c[1] === 0x8B && c[2] === 0x08 } module.exports = gunzip function gunzip () { var stream = duplex() var peeker = through(function (chunk, enc, cb) { var newStream = hasGzipHeader(chunk) ? zlib.createGunzip() : through() stream.setReadable(newStream) stream.setWritable(newStream) stream.write(chunk) }) stream.setWritable(peeker) return stream }