Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
import { GeneralCallResult } from './common';
|
|
declare enum ProxyType {
|
|
CLOSE = 0,
|
|
HTTP = 1,
|
|
SOCKET = 2
|
|
}
|
|
export interface NodeIKernelMSFService {
|
|
getServerTime(): string;
|
|
setNetworkProxy(param: {
|
|
userName: string;
|
|
userPwd: string;
|
|
address: string;
|
|
port: number;
|
|
proxyType: ProxyType;
|
|
domain: string;
|
|
isSocket: boolean;
|
|
}): Promise<GeneralCallResult>;
|
|
getNetworkProxy(): Promise<{
|
|
userName: string;
|
|
userPwd: string;
|
|
address: string;
|
|
port: number;
|
|
proxyType: ProxyType;
|
|
domain: string;
|
|
isSocket: boolean;
|
|
}>;
|
|
sendMsfRequest(seq: string, cmd: string, reqData: Uint8Array, option: {
|
|
sendTimeout: number;
|
|
sendTimeoutOnSlowNet: number;
|
|
resendNum: number;
|
|
sendOptions: number;
|
|
reqTargetAccountType: number;
|
|
account: string;
|
|
accountType: number;
|
|
transInfoMap: Map<string, unknown>;
|
|
}): Promise<Buffer>;
|
|
}
|
|
export {};
|