"""
AIPTX Beast Mode - Exploitation Engine
=======================================

LLM-powered multi-step exploitation with adaptive payload mutation.

Components:
- chain_builder: Plan multi-step attack chains (SQLi→RCE, SSRF→Exfil)
- chain_executor: Execute planned chains with fallback
- chain_templates: Pre-defined attack chain patterns
- payload_engine: WAF-aware payload mutation
- waf_detector: WAF fingerprinting and bypass selection
- encoders: Encoding/obfuscation techniques
"""

from __future__ import annotations

from aipt_v2.exploitation.chain_builder import (
    ExploitChainBuilder,
    ChainStep,
    AttackChain,
)
from aipt_v2.exploitation.chain_executor import ChainExecutor
from aipt_v2.exploitation.chain_templates import (
    CHAIN_TEMPLATES,
    get_chain_template,
    ChainTemplate,
)
from aipt_v2.exploitation.payload_engine import PayloadEngine
from aipt_v2.exploitation.encoders import (
    Encoder,
    url_encode,
    base64_encode,
    hex_encode,
    unicode_encode,
    double_url_encode,
    chain_encode,
)
from aipt_v2.exploitation.waf_detector import WAFDetector
from aipt_v2.exploitation.mutations import (
    SQLiMutator,
    XSSMutator,
    CMDMutator,
)

__all__ = [
    # Chain Builder
    "ExploitChainBuilder",
    "ChainStep",
    "AttackChain",
    # Chain Executor
    "ChainExecutor",
    # Templates
    "CHAIN_TEMPLATES",
    "get_chain_template",
    "ChainTemplate",
    # Payload Engine
    "PayloadEngine",
    # Encoders
    "Encoder",
    "url_encode",
    "base64_encode",
    "hex_encode",
    "unicode_encode",
    "double_url_encode",
    "chain_encode",
    # WAF Detection
    "WAFDetector",
    # Mutations
    "SQLiMutator",
    "XSSMutator",
    "CMDMutator",
]
