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

can't find a syntax to call Mimikatz from the command line with embedded quotes #424

Open
rick-engle opened this issue Mar 28, 2023 · 1 comment

Comments

@rick-engle
Copy link

I'd like to pass all of these commands to Mimikatz as command line arguments, but I can't figure out how to wrap one of the parameters so that it is handled properly:

mimikatz.exe privilege::debug sid::patch sid::add /sam:jeffl /new:"Domain Admins" exit

The /new:"Domain Admins" is what I am having problems with. The Domain Admins group has a space in it so I need to wrap it in quotes. But mimikatz does not parse the properly and breaks the command link flow.

Is there a way to properly pass embedded or escaped quotes so that the command line succeeds?

Thanks.

@TheOnAndOnlyZenomat
Copy link

I also had that problem. I couldn't figure out a way to escape in in Powershell, but running it in cmd with "log test.log" worked

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

2 participants