> For the complete documentation index, see [llms.txt](https://docs.particle42.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.particle42.com/active-directory/domain-recon/auto-recon.md).

# Auto Recon

Reconnaisance can be automated with the help of [Sharphound](https://github.com/BloodHoundAD/SharpHound) and [Bloodhound](https://github.com/BloodHoundAD/BloodHound).&#x20;

Sharphound is available in different formats - source code, compiled executable or as a powershell script.&#x20;

Sharphound helps in gathering info about a domain and dumping it into a file. The following commands can be used to collect the info by logging in as a domain user.&#x20;

```
Import-Module .\Sharphound.ps1
Invoke-BloodHound -CollectionMethod All -OutputDirectory C:\Users\xyz\Desktop\ -OutputPrefix "domain_audit"
```

Once the information is collected, it can be visualized using bloodhound. Bloodhound can be accessed through the web browser post starting the server using the following command,

```
sudo neo4j start
```

The above command should enable you to setup bloodbound. With neo4j running bloodhound can be started using the command,

```
bloodhound
```

The output of sharphound can be uploaded to view the data.
