{"id":13842236,"url":"https://github.com/Rvn0xsy/goDomain","last_synced_at":"2025-07-11T14:31:25.172Z","repository":{"id":38352924,"uuid":"394858029","full_name":"Rvn0xsy/goDomain","owner":"Rvn0xsy","description":"Windows活动目录中的LDAP信息收集工具","archived":false,"fork":false,"pushed_at":"2021-10-09T08:16:56.000Z","size":1254,"stargazers_count":230,"open_issues_count":0,"forks_count":26,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-08-05T17:30:55.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rvn0xsy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-11T04:08:53.000Z","updated_at":"2024-07-06T09:28:21.000Z","dependencies_parsed_at":"2022-08-25T05:00:12.624Z","dependency_job_id":null,"html_url":"https://github.com/Rvn0xsy/goDomain","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rvn0xsy%2FgoDomain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rvn0xsy%2FgoDomain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rvn0xsy%2FgoDomain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rvn0xsy%2FgoDomain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rvn0xsy","download_url":"https://codeload.github.com/Rvn0xsy/goDomain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225729921,"owners_count":17515192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T17:01:30.027Z","updated_at":"2024-11-21T12:31:04.088Z","avatar_url":"https://github.com/Rvn0xsy.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# goDomain\n\n\u003e Windows活动目录中的LDAP信息收集工具\n\n文章：[Windows活动目录中的LDAP](https://payloads.online/archivers/2021-08-11/1)\n\n## 使用示例\n\n![get-computers](./images/img_6.png)\n\n### 自定义过滤器\n\n```bash\n$ goDomain -username \u003cUsername\u003e -password \u003cPassword\u003e -base-dn \u003cBaseDN\u003e -host \u003cLDAP-Server\u003e -filter '(\u0026(objectCategory=person)(objectClass=user))' -columns distinguishedName,sAMAccountName -csv\n```\n\n### 获取域内所有机器DN、操作系统、版本号\n\n```\n$ goDomain -username \u003cUsername\u003e -password \u003cPassword\u003e -base-dn \u003cBaseDN\u003e -host \u003cLDAP-Server\u003e -get-computers\n```\n\n![get-computers](./images/img_6.png)\n\n### 获取域内所有非约束委派机器DN、操作系统、版本号\n\n```\n$ goDomain -username \u003cUsername\u003e -password \u003cPassword\u003e -base-dn \u003cBaseDN\u003e -host \u003cLDAP-Server\u003e -get-unconstrained-delegation-computers\n```\n\n![get-computers](./images/img_5.png)\n\n### 获取域内所有约束委派机器DN、操作系统、版本号、约束信息\n\n\n```\n$ goDomain -username \u003cUsername\u003e -password \u003cPassword\u003e -base-dn \u003cBaseDN\u003e -host \u003cLDAP-Server\u003e -get-delegation-computers\n```\n\n![get-computers](./images/img_3.png)\n\n### 获取域内所有用户\n\n\n```\n$ goDomain -username \u003cUsername\u003e -password \u003cPassword\u003e -base-dn \u003cBaseDN\u003e -host \u003cLDAP-Server\u003e -get-delegation-computers\n```\n\n![get-computers](./images/img_4.png)\n\n### 结果输出\n\n- [x] -csv\n- [x] -html\n- [x] -markdown\n\n**-html**\n\n```bash\n$ goDomain -username \u003cUsername\u003e -password \u003cPassword\u003e -base-dn \u003cBaseDN\u003e -host \u003cLDAP-Server\u003e -get-users -html \u003e /tmp/result.html\n```\n\n**-csv**\n\n```bash\n$ goDomain -username \u003cUsername\u003e -password \u003cPassword\u003e -base-dn \u003cBaseDN\u003e -host \u003cLDAP-Server\u003e -get-users -csv \u003e /tmp/result.csv\n```\n\n**-markdown**\n\n```bash\n$ goDomain -username \u003cUsername\u003e -password \u003cPassword\u003e -base-dn \u003cBaseDN\u003e -host \u003cLDAP-Server\u003e -get-users -markdown \u003e /tmp/result.md\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRvn0xsy%2FgoDomain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRvn0xsy%2FgoDomain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRvn0xsy%2FgoDomain/lists"}