export interface PayloadConfig { type: 'reverse-shell' | 'dll-injection' | 'reflective-loader' | 'shellcode-stager'; target: { os: 'linux' | 'windows' | 'macos'; arch: 'x86-64' | 'arm64'; }; c2: { host: string; port: number; protocol: 'https' | 'dns' | 'wss'; }; evasion: ('syscall' | 'amsi-bypass' | 'etw-bypass' | 'unhooking' | 'ja4-rotation')[]; persistence: boolean; selfDestruct: { enabled: boolean; timerSeconds?: number; }; environmentKey?: string; } export interface GeneratedPayload { id: string; config: PayloadConfig; shellcode: Buffer; shellcodeSize: number; stagerSource: string; stagerSize: number; xorKey: Buffer; polymorphicHashes: string[]; c2Endpoints: string[]; selfDestructCode: string; } declare function generatePolymorphicNopSled(length: number): Buffer; declare function generateReverseShellShellcode(host: string, port: number, os: string, arch: string): Buffer; declare function xorEncrypt(data: Buffer, key: Buffer): Buffer; export declare function forge(config: PayloadConfig): GeneratedPayload; export { generatePolymorphicNopSled, generateReverseShellShellcode, xorEncrypt }; //# sourceMappingURL=forge.d.ts.map