Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Rvn0xsy/goDomain
Windows活动目录中的LDAP信息收集工具
https://github.com/Rvn0xsy/goDomain
Last synced: 3 months ago
JSON representation
Windows活动目录中的LDAP信息收集工具
- Host: GitHub
- URL: https://github.com/Rvn0xsy/goDomain
- Owner: Rvn0xsy
- Created: 2021-08-11T04:08:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-09T08:16:56.000Z (about 3 years ago)
- Last Synced: 2024-06-20T17:33:48.071Z (5 months ago)
- Language: Go
- Size: 1.2 MB
- Stars: 230
- Watchers: 7
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - Rvn0xsy/goDomain - Windows活动目录中的LDAP信息收集工具 (Go)
README
# goDomain
> Windows活动目录中的LDAP信息收集工具
文章:[Windows活动目录中的LDAP](https://payloads.online/archivers/2021-08-11/1)
## 使用示例
![get-computers](./images/img_6.png)
### 自定义过滤器
```bash
$ goDomain -username -password -base-dn -host -filter '(&(objectCategory=person)(objectClass=user))' -columns distinguishedName,sAMAccountName -csv
```### 获取域内所有机器DN、操作系统、版本号
```
$ goDomain -username -password -base-dn -host -get-computers
```![get-computers](./images/img_6.png)
### 获取域内所有非约束委派机器DN、操作系统、版本号
```
$ goDomain -username -password -base-dn -host -get-unconstrained-delegation-computers
```![get-computers](./images/img_5.png)
### 获取域内所有约束委派机器DN、操作系统、版本号、约束信息
```
$ goDomain -username -password -base-dn -host -get-delegation-computers
```![get-computers](./images/img_3.png)
### 获取域内所有用户
```
$ goDomain -username -password -base-dn -host -get-delegation-computers
```![get-computers](./images/img_4.png)
### 结果输出
- [x] -csv
- [x] -html
- [x] -markdown**-html**
```bash
$ goDomain -username -password -base-dn -host -get-users -html > /tmp/result.html
```**-csv**
```bash
$ goDomain -username -password -base-dn -host -get-users -csv > /tmp/result.csv
```**-markdown**
```bash
$ goDomain -username -password -base-dn -host -get-users -markdown > /tmp/result.md
```