Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gitezri opened this issue Feb 19, 2021 · 0 comments

Comments

@gitezri
Copy link

gitezri commented Feb 19, 2021

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant