Lucene search
+L

Agent Local Store (Python)

🗓️ 19 Aug 2026 05:37:22Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com

Agent Local Store (Python) bootstraps encrypted local task storage on an implant.

Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""Bootstrap encrypted agent-side task storage before callback (Python emitter)."""

from typing import Any, Dict

from kittysploit import *
from core.payload_generation.prestage.agent_store_context import resolve_agent_store_context


class Module(Prestage):
    PRESTAGE_ID = "agent_store"

    __info__ = {
        "name": "Agent Local Store (Python)",
        "description": "Bootstrap encrypted local task storage on the implant before callback",
        "author": "KittySploit Team",
        "version": "1.0.0",
        "platform": Platform.MULTI,
        "languages": ["python"],
        "dependencies": [],
        "tags": ["prestage", "offline", "persistence", "tasks", "python"],
    }

    store_path = OptString("", "Store file path on target (default: temp/.kitty_store)", False)
    store_secret = OptString("", "Encryption secret (default: kitty-agent-store)", False)

    def generate_python(self, context: Dict[str, Any] = None) -> str:
        cfg = resolve_agent_store_context(self, context)
        store_path = cfg["store_path"]
        store_secret = cfg["store_secret"]

        from lib.c2.agent_store import build_agent_store_bootstrap

        if store_path:
            return build_agent_store_bootstrap(store_path, store_secret, var_name="_kitty_store")

        return (
            'import tempfile as _tmp\n'
            '_kitty_store_path = _tmp.gettempdir() + "/.kitty_store"\n'
            + build_agent_store_bootstrap(
                "_kitty_store_path",
                store_secret,
                var_name="_kitty_store",
                path_is_expression=True,
            )
        ).strip()

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

19 Aug 2026 05:37Current
5.9Medium risk
Vulners AI Score5.9
0