sense-of-security / ADRecon

ADRecon is a tool which gathers information about the Active Directory and generates a report which can provide a holistic picture of the current state of the target AD environment.
https://senseofsecurity.com.au/
GNU Affero General Public License v3.0
1.64k stars 277 forks source link

Phantom "Server" Parameter Exception/Error #6

Closed liamcs98 closed 5 years ago

liamcs98 commented 5 years ago

I randomly keep getting this error when running the program.

Command C:\Users\<nope>\Desktop\AD-Recon-Logs\ADRecon.ps1 -DomainController <FQDN> -Credential domain\user -OutputDir C:\Users\<Nope>\Desktop\AD-Recon-Logs\Test\

Error [*] ADRecon v180429 by Prashant Mahajan (@prashant3535) from Sense of Security. [*] Running on <Domain>\Computer - Member Workstation [EXCEPTION] A parameter cannot be found that matches parameter name 'Server'.

prashant3535 commented 5 years ago

You are already running from a host which is a member of a domain. Are you trying to run ADRecon against the same domain or another domain and which Protocol are using RSAT or LDAP?

liamcs98 commented 5 years ago

Yep I'm just silly. Simply needed to do -Protocol LDAP and it started to work.