Container-Backed Pentest Toolkit
Enumerate SMB shares + access permissions on a target host using smbmap.
kali_smbmapRead-only Windows / Samba enumeration. Tries guest credentials first, falls back to anonymous; never attempts brute-force.
Built from KaliToolbox.smbmap(). avoidWhen guidance: don't run on hosts without SMB; guest/anonymous only — no brute-force.
When a user asks:
Enumerate SMB shares on 192.168.1.10
the agent calls the tool:
kali_smbmap(target="192.168.1.10")and gets back: [+] IP: 192.168.1.10 Name: SAMBA-SERVER Disk Permissions Comment --- ----------- ------ print$ NO ACCESS Printer Drivers public READ ONLY Public Files homes READ, WRITE Home Directories
Set these before calling the tool. Values marked required must be present or the tool call will fail.
swarmai.skill.container.runtime required Shared ContainerSkillRuntime.
Wire this tool into a SwarmAI crew. Use the YAML DSL for declarative workflows, or the Java builder API when you want full programmatic control.
YAML DSL
# Step 3 of a reactive audit:
# 1. kali_nmap finds 192.168.1.10:445 open (microsoft-ds)
# 2. agent reasons: SMB host → enumerate shares
# 3. agent calls kali_smbmap(target='192.168.1.10')Java
import ai.intelliswarm.swarmai.skill.runtime.KaliToolbox;
import ai.intelliswarm.swarmai.skill.runtime.ContainerSkillRuntime;
var smbmap = new KaliToolbox(new ContainerSkillRuntime()).smbmap();
String result = (String) smbmap.execute(java.util.Map.of("target", "192.168.1.10"));Real scenarios where agents put this tool to work.
Implementation lives at swarmai-core/src/main/java/ai/intelliswarm/swarmai/skill/runtime/KaliToolbox.java in the swarm-ai repository.