adrecon/ADRecon

ADRecon from Linux

noraj opened this issue · 1 comments

noraj commented
  • ADRecon v1.24
  • .NET 5.0.204
  • PowerShell 7.1.3
  • ArchLinux

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?

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