Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.218.60.55
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
localtunnel /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
HeaderHostTransformer.js
613
B
-rw-rw-r--
2022-08-30 11:49
Tunnel.js
4.04
KB
-rw-rw-r--
2022-08-30 11:49
TunnelCluster.js
4.17
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
const { Transform } = require('stream'); class HeaderHostTransformer extends Transform { constructor(opts = {}) { super(opts); this.host = opts.host || 'localhost'; this.replaced = false; } _transform(data, encoding, callback) { callback( null, this.replaced // after replacing the first instance of the Host header we just become a regular passthrough ? data : data.toString().replace(/(\r\n[Hh]ost: )\S+/, (match, $1) => { this.replaced = true; return $1 + this.host; }) ); } } module.exports = HeaderHostTransformer;