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

Fixed a bug where the IV parameter conflicts with InformationVariable #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0xabe-io
Copy link

On Windows 10, the Decrypt-AES and Decrypt-Byte functions have an IV parameter that conflict with an alias name of the parameter InformationVariable:

Decrypt-AES : The parameter 'IV' cannot be specified because it conflicts with the parameter alias of the same 
name for parameter 'InformationVariable'.
At C:\Users\user\Documents\RemoteHashRetrieval.ps1:1282 char:30
+     $LSAKeyStructPlaintext = Decrypt-AES -Key $TmpKey -CipherText $LS ...
+                              ~~~~~~~~~~~
    + CategoryInfo          : MetadataError: (:) [], MetadataException
    + FullyQualifiedErrorId : ParameterNameConflictsWithAlias

Changing the IV parameter to InitializationVector fixes the bug.

@AHewitt
Copy link

AHewitt commented Jul 13, 2020

I also noticed this problem! @HarmJ0y can you accept this pull request?

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

Successfully merging this pull request may close these issues.

2 participants