Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
cleanldap — 用于通过AD WS进行Active Directory侦察的隐蔽LDAP查询BOF,实现属性枚举和数据收集,适用于红队行动。 | Kitploit
工具/GitHubGitHub/mandiant/cleanldap
侦察信息收集渗透测试实用工具与框架红队
GitHubmandiant/cleanldap

cleanldap

用于通过AD WS进行Active Directory侦察的隐蔽LDAP查询BOF,实现属性枚举和数据收集,适用于红队行动。

查看仓库
1941210个月前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CleanLdap

用于通过 AD WS 执行隐蔽 LDAP 查询的 BOF

参数

直接切入正题,以下是参数及其含义:

root@kitploit:~
# Z: DC Hostname ("dc01.example.com")
# Z: LDAP query ("(objectClass=*)")
# Z: Comma separated list of LDAP attributes ("samaccountname,distinguishedName,cn") <- if empty, collect all
# Z: Base DN ("DC=example,DC=com") <- if empty parse from hostname
# Z: Max elements per pull ("25") <- wide char b/c XML, if empty default to 25, max 256
bof_pack($1, "ZZZZZ", $2, $3, $4, $5, $6);

示例调用

root@kitploit:~
// Retrieve only the sAMAccountName for LDAP objects where cn is "Administrator"
cleanldap "dc01.domain.local" "(cn=Administrator)" "samaccountname" "" "100"

// Retrieve all LDAP attributes needed to parse with bofHound
cleanldap "dc01.domain.local" "(objectclass=*)" "" "" "100"
cleanldap "dc01.domain.local" "(objectclass=*)" "*" "" "100"

// Pull list of attributes from all users using specified base DN
cleanldap "dc01.domain.local" "(objectclass=user)" "samaccountname,cn,distinguishedname" "DC=domain,DC=local" "100"

示例输出

LDAP 查询结果

杂项

  • 通过 Mythic 运行时,所有 BOF 参数都必须填写。
下载工具