Skip to content

Instantly share code, notes, and snippets.

@tandasat
Last active August 31, 2018 18:35
Show Gist options
  • Save tandasat/a9d0ef3b5b3c7067443e7cd1abb56536 to your computer and use it in GitHub Desktop.
Save tandasat/a9d0ef3b5b3c7067443e7cd1abb56536 to your computer and use it in GitHub Desktop.

Revisions

  1. tandasat revised this gist Feb 17, 2017. 1 changed file with 4 additions and 5 deletions.
    9 changes: 4 additions & 5 deletions Invoke-Mimikidz
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ The script has a ComputerName parameter which allows it to be executed against m

    This script should be able to dump credentials from any version of Windows through Windows 8.1 that has PowerShell v2 or higher installed.

    Function: Invoke-Mimikatz
    Function: Invoke-Mimikidz
    Author: Joe Bialek, Twitter: @JosephBialek
    Mimikatz Author: Benjamin DELPY `gentilkiwi`. Blog: http://blog.gentilkiwi.com. Email: [email protected]. Twitter @gentilkiwi
    License: http://creativecommons.org/licenses/by/3.0/fr/
    @@ -41,17 +41,17 @@ Optional, an array of computernames to run the script on.
    .EXAMPLE

    Execute mimikatz on the local computer to dump certificates.
    Invoke-Mimikatz -DumpCerts
    Invoke-Mimikidz -DumpCerts

    .EXAMPLE

    Execute mimikatz on two remote computers to dump credentials.
    Invoke-Mimikatz -DumpCreds -ComputerName @("computer1", "computer2")
    Invoke-Mimikidz -DumpCreds -ComputerName @("computer1", "computer2")

    .EXAMPLE

    Execute mimikatz on a remote computer with the custom command "privilege::debug exit" which simply requests debug privilege and exits
    Invoke-Mimikatz -Command "privilege::debug exit" -ComputerName "computer1"
    Invoke-Mimikidz -Command "privilege::debug exit" -ComputerName "computer1"

    .NOTES
    This script was created by combining the Invoke-ReflectivePEInjection script written by Joe Bialek and the Mimikatz code written by Benjamin DELPY
    @@ -2742,4 +2742,3 @@ Function Main

    Main
    }

  2. tandasat created this gist Feb 17, 2017.
    2,745 changes: 2,745 additions & 0 deletions Invoke-Mimikidz
    2,745 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.