[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: ipaddr.js.d.ts
declare module "ipaddr.js" { type IPvXRangeDefaults = 'unicast' | 'unspecified' | 'multicast' | 'linkLocal' | 'loopback' | 'reserved'; type IPv4Range = IPvXRangeDefaults | 'broadcast' | 'carrierGradeNat' | 'private'; type IPv6Range = IPvXRangeDefaults | 'uniqueLocal' | 'ipv4Mapped' | 'rfc6145' | 'rfc6052' | '6to4' | 'teredo'; interface RangeList<T> { [name: string]: [T, number] | [T, number][]; } // Common methods/properties for IPv4 and IPv6 classes. class IP { prefixLengthFromSubnetMask(): number | null; toByteArray(): number[]; toNormalizedString(): string; toString(): string; } namespace Address { export function fromByteArray(bytes: number[]): IPv4 | IPv6; export function isValid(addr: string): boolean; export function parse(addr: string): IPv4 | IPv6; export function parseCIDR(mask: string): [IPv4 | IPv6, number]; export function process(addr: string): IPv4 | IPv6; export function subnetMatch(addr: IPv4 | IPv6, rangeList: RangeList<IPv4 | IPv6>, defaultName?: string): string; export class IPv4 extends IP { static broadcastAddressFromCIDR(addr: string): IPv4; static isIPv4(addr: string): boolean; static isValidFourPartDecimal(addr: string): boolean; static isValid(addr: string): boolean; static networkAddressFromCIDR(addr: string): IPv4; static parse(addr: string): IPv4; static parseCIDR(addr: string): [IPv4, number]; static subnetMaskFromPrefixLength(prefix: number): IPv4; constructor(octets: number[]); octets: number[] kind(): 'ipv4'; match(what: IPv4 | IPv6 | [IPv4 | IPv6, number], bits?: number): boolean; range(): IPv4Range; subnetMatch(rangeList: RangeList<IPv4>, defaultName?: string): string; toIPv4MappedAddress(): IPv6; } export class IPv6 extends IP { static broadcastAddressFromCIDR(addr: string): IPv6; static isIPv6(addr: string): boolean; static isValid(addr: string): boolean; static networkAddressFromCIDR(addr: string): IPv6; static parse(addr: string): IPv6; static parseCIDR(addr: string): [IPv6, number]; static subnetMaskFromPrefixLength(prefix: number): IPv6; constructor(parts: number[]); parts: number[] zoneId?: string isIPv4MappedAddress(): boolean; kind(): 'ipv6'; match(what: IPv4 | IPv6 | [IPv4 | IPv6, number], bits?: number): boolean; range(): IPv6Range; subnetMatch(rangeList: RangeList<IPv6>, defaultName?: string): string; toIPv4Address(): IPv4; toRFC5952String(): string; } } export = Address; }
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.74 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