Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Rvn0xsy/goDomain

Windows活动目录中的LDAP信息收集工具
https://github.com/Rvn0xsy/goDomain

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

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
```