> For the complete documentation index, see [llms.txt](https://n4shx.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://n4shx.gitbook.io/wiki/schule/archiv/smb-windows-enumeration.md).

# SMB / Windows Enumeration

### `smbclient`

Zweck: Shares anzeigen und darauf zugreifen.

```
smbclient -L //<IP> -N
smbclient //<IP>/share -N
```

### `enum4linux`

Zweck: Benutzer, Shares, Policies und SMB-Infos sammeln.

```
enum4linux -a <IP>
```

### `rpcclient`

Zweck: RPC/SMB-Infos abfragen.

```
rpcclient -U "" -N <IP>
```

### `crackmapexec`

Zweck: SMB-/Windows-Enumeration, Login-Checks, Umfeldanalyse.

```
crackmapexec smb <IP>
```
