403Webshell
Server IP : 185.208.173.17  /  Your IP : 87.236.161.98
Web Server : Microsoft-IIS/10.0
System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64
User : IUSR ( 0)
PHP Version : 7.4.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/parsmega.nuxt/node_modules/listhen/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/parsmega.nuxt/node_modules/listhen/dist//index.d.ts
import http from 'http';
import https from 'https';
import { SelfsignedOptions } from 'selfsigned';
import { GetPortInput } from 'get-port-please';

declare module 'selfsigned' {
    interface SelfsignedOptions {
        attrs?: any;
        keySize?: number;
        days?: number;
        algorithm?: string;
        extensions?: any[];
        pkcs7?: boolean;
        clientCertificate?: undefined;
        clientCertificateCN?: string;
    }
    interface GenerateResult {
        private: string;
        public: string;
        cert: string;
    }
    function generate(attrs?: any, opts?: SelfsignedOptions, cb?: (err: undefined | Error, result: GenerateResult) => any): any;
}

interface Certificate {
    key: string;
    cert: string;
}
interface CertificateInput {
    key: string;
    cert: string;
}
interface ListenOptions {
    name: string;
    port?: GetPortInput;
    hostname?: string;
    https?: boolean;
    selfsigned?: SelfsignedOptions;
    showURL: boolean;
    baseURL: string;
    open: boolean;
    certificate: Certificate;
    clipboard: boolean;
    isTest: Boolean;
    isProd: Boolean;
    autoClose: Boolean;
    autoCloseSignals: string[];
}
interface ShowURLOptions {
    baseURL: string;
    name?: string;
}
interface Listener {
    url: string;
    server: http.Server | https.Server;
    close: () => Promise<void>;
    open: () => Promise<void>;
    showURL: (options?: Pick<ListenOptions, 'baseURL'>) => void;
}
declare function listen(handle: http.RequestListener, opts?: Partial<ListenOptions>): Promise<Listener>;

export { Certificate, CertificateInput, ListenOptions, Listener, ShowURLOptions, listen };

Youez - 2016 - github.com/yon3zu
LinuXploit