> For the complete documentation index, see [llms.txt](https://books.spartan-cybersec.com/cpad/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://books.spartan-cybersec.com/cpad/persistencia-y-post-explotacion-en-ad/bosques-y-relaciones-de-confianza/enumeracion-utilizando-adpeas.ps1.md).

# Enumeracion utilizando ADPeas.ps1

Esto puede ser analizado desde [el resultado de ADPeas](/cpad/enumeracion-en-ad/enumeracion-con-powershell-ofensivo/utilizando-adpeas.md):&#x20;

```powershell
[?] +++++ Checking Forest and Domain Trusts +++++
[+] Found configured domain trusts of 'spartancybersec.corp':
Target Domain Name:                     vikingscybersec.corp
Target Domain SID:                      S-1-5-21-3191546187-884582097-4033286759
Flags:                                  DIRECT_OUTBOUND, DIRECT_INBOUND
TrustAttributes:                        FILTER_SIDS
```
