All Projects → Rvn0xsy → goDomain

Rvn0xsy / goDomain

Licence: other
Windows活动目录中的LDAP信息收集工具

Programming Languages

go
31211 projects - #10 most used programming language

goDomain

Windows活动目录中的LDAP信息收集工具

文章:Windows活动目录中的LDAP

使用示例

get-computers

自定义过滤器

$ goDomain -username <Username> -password <Password> -base-dn <BaseDN> -host <LDAP-Server> -filter '(&(objectCategory=person)(objectClass=user))' -columns distinguishedName,sAMAccountName -csv

获取域内所有机器DN、操作系统、版本号

$ goDomain -username <Username> -password <Password> -base-dn <BaseDN> -host <LDAP-Server> -get-computers

get-computers

获取域内所有非约束委派机器DN、操作系统、版本号

$ goDomain -username <Username> -password <Password> -base-dn <BaseDN> -host <LDAP-Server> -get-unconstrained-delegation-computers

get-computers

获取域内所有约束委派机器DN、操作系统、版本号、约束信息

$ goDomain -username <Username> -password <Password> -base-dn <BaseDN> -host <LDAP-Server> -get-delegation-computers

get-computers

获取域内所有用户

$ goDomain -username <Username> -password <Password> -base-dn <BaseDN> -host <LDAP-Server> -get-delegation-computers

get-computers

结果输出

  • -csv
  • -html
  • -markdown

-html

$ goDomain -username <Username> -password <Password> -base-dn <BaseDN> -host <LDAP-Server> -get-users -html > /tmp/result.html

-csv

$ goDomain -username <Username> -password <Password> -base-dn <BaseDN> -host <LDAP-Server> -get-users -csv > /tmp/result.csv

-markdown

$ goDomain -username <Username> -password <Password> -base-dn <BaseDN> -host <LDAP-Server> -get-users -markdown > /tmp/result.md
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].