Lucene search
+L

MSSQL BIND Session

🗓️ 08 Aug 2026 21:48:30Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 1 Views

MSSQL BIND payload for listeners/database/mssql.

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

from kittysploit import *
from lib.c2.database_bind import build_bind_session_hint


class Module(Payload):
    __info__ = {
        "name": "MSSQL BIND Session",
        "description": "BIND payload for listeners/database/mssql",
        "category": PayloadCategory.CMD,
        "platform": Platform.MULTI,
        "listener": "listeners/database/mssql",
        "handler": Handler.BIND,
        "session_type": SessionType.MSSQL,
    }

    rhost = OptString("127.0.0.1", "MSSQL host", True)
    rport = OptPort(1433, "MSSQL port", True)
    username = OptString("sa", "MSSQL username", True)
    password = OptString("", "MSSQL password", False)
    database = OptString("master", "Database name", False)

    def generate(self):
        return build_bind_session_hint(
            "MSSQL", str(self.rhost), int(self.rport or 1433),
            username=str(self.username or "sa"),
            extra=f"database={self.database or 'master'}",
            probe="SELECT @@version;",
        )

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

08 Aug 2026 21:48Current
5.8Medium risk
Vulners AI Score5.8
1