SMB Client BIND Session
#!/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": "SMB Client BIND Session",
"description": "BIND payload for listeners/smb/client",
"category": PayloadCategory.CMD,
"platform": Platform.WINDOWS,
"listener": "listeners/smb/client",
"handler": Handler.BIND,
"session_type": SessionType.SMB,
}
rhost = OptString("127.0.0.1", "SMB target host", True)
rport = OptPort(445, "SMB port", True)
username = OptString("", "SMB username", False)
password = OptString("", "SMB password", False)
domain = OptString("", "SMB domain", False)
def generate(self):
dom = f" domain={self.domain}" if str(self.domain or "").strip() else ""
return build_bind_session_hint(
"SMB", str(self.rhost), int(self.rport or 445),
username=str(self.username or "(null/guest)"),
extra=dom.strip(),
probe=f"net view \\\\{self.rhost}",
)
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