adrecon / 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.
GNU Affero General Public License v3.0
684 stars 101 forks source link

ADRecon from Linux #5

Closed noraj closed 3 years ago

noraj commented 3 years ago

it seems that despite the fact I'm running the tool from linux, the prerequisites are satisfied.

PS /tmp/ADRecon> .\ADRecon.ps1 -DomainController 10.x.x.x -Credential domain.xxx\user
...
[*] ADRecon v1.24 by Prashant Mahajan (@prashant3535)
[Invoke-ADRecon] The term 'Get-CimInstance' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Computer Role could not be identified.
Remove-Variable: /tmp/ADRecon/ADRecon.ps1:11814
 Line |
11814 |      Remove-Variable computer
      |      ~~~~~~~~~~~~~~~~~~~~~~~~
      | Cannot find a variable with the name 'computer'.

Remove-Variable: /tmp/ADRecon/ADRecon.ps1:11815
 Line |
11815 |      Remove-Variable computerdomainrole
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | Cannot find a variable with the name 'computerdomainrole'.

Remove-Variable: /tmp/ADRecon/ADRecon.ps1:11816
 Line |
11816 |      Remove-Variable computerrole
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | Cannot find a variable with the name 'computerrole'.

WARNING: [Invoke-ADRecon] ActiveDirectory Module from RSAT (Remote Server Administration Tools) is not installed ... Continuing with LDAP
...

Does ADRecon absolutely requires to run on a Windows host?

prashant3535 commented 3 years ago

Yes, currently ADRecon require a Windows host as the required dll's/cmdlets are not available in PowerShell for Linux.