Skip to content

Need Better Requirement Processing i.e. "modules specified by "#requires" are missing: ActiveDirectory. " #84

@gitezri

Description

@gitezri

PS /home/ezri/htb> import-module ./nishang/nishang.psm1
Import-Module: /home/ezri/htb/nishang/nishang.psm1:24
Line |
24 | … )} | ForEach-Object {Import-Module $_.FullName -DisableNameChecking}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The script 'Add-ConstrainedDelegationBackdoor.ps1' cannot be run because the
| following modules that are specified by the "#requires" statements of the script are
| missing: ActiveDirectory.

Import-Module: /home/ezri/htb/nishang/nishang.psm1:24
Line |
24 | … )} | ForEach-Object {Import-Module $_.FullName -DisableNameChecking}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The script 'Add-ConstrainedDelegationBackdoor.ps1' cannot be run because the
| following modules that are specified by the "#requires" statements of the script are
| missing: ActiveDirectory.

WARNING: The names of some imported commands from the module 'nishang' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
WARNING: Some imported command names contain one or more of the following restricted characters: # , ( ) {{ }} [ ] & - / \ $ ^ ; : " ' < > | ? @ ` * % + = ~
PS /home/ezri/htb>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions