peewpw / invoke-wcmdump Goto Github PK
View Code? Open in Web Editor NEWPowerShell Script to Dump Windows Credentials from the Credential Manager
License: Apache License 2.0
PowerShell Script to Dump Windows Credentials from the Credential Manager
License: Apache License 2.0
Fully Patched Win7 install -
PS C:\temp> $psversiontable
Name Value
CLRVersion 2.0.50727.8762
BuildVersion 6.1.7601.17514
PSVersion 2.0
WSManStackVersion 2.0
PSCompatibleVersions {1.0, 2.0}
SerializationVersion 1.1.0.1
PSRemotingProtocolVersion 2.1
PS C:\temp> Invoke-WCMDump
Add-Type : c:\Users\user\AppData\Local\Temp\3cojicol.0.cs(6) : The type or namespace name 'Linq' does not exist in the namespace 'System' (are
you missing an assembly reference?)
c:\Users\user\AppData\Local\Temp\3cojicol.0.cs(5) : using System.Collections.Generic;
c:\Users\user\AppData\Local\Temp\3cojicol.0.cs(6) : >>> using System.Linq;
c:\Users\user\AppData\Local\Temp\3cojicol.0.cs(7) : using System.Runtime.InteropServices;
At C:\temp\creds.ps1:251 char:20
$add = Add-Type <<<< -TypeDefinition $source -Language CSharp -PassThru
Add-Type : Cannot add type. There were compilation errors.
At C:\temp\creds.ps1:251 char:20
$add = Add-Type <<<< -TypeDefinition $source -Language CSharp -PassThru
Unable to find type [Credential]: make sure that the assembly containing this type is loaded.
At C:\temp\creds.ps1:252 char:28
$loadAll = [Credential] <<<< ::LoadAll()
Hello,
nice for sharing the code but once I try it I get this:
PS C:\temp\invoke-wcmdump> Invoke-WCMDump
Eccezione durante la chiamata di "LoadAll" con "0" argomento/i: "Failed to enumerate credentials"
In C:\temp\invoke-wcmdump\Invoke-WCMDump.ps1:252 car:5
$loadAll = [Credential]::LoadAll()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tested on VM Microsoft Windows 10 Pro N - 10.0.16299 with
PS C:> $PSVersionTable.Values
Major Minor Build Revision
5 1 16299 98
Desktop
1 0 -1 -1
2 0 -1 -1
3 0 -1 -1
4 0 -1 -1
5 0 -1 -1
5 1 16299 98
10 0 16299 98
4 0 30319 42000
3 0 -1 -1
2 3 -1 -1
1 1 0 1
any idea ?
thanks
Can't use it, detected as virus by windows defender
Is there any difference between cmdkey /list
command?
The password I get from your ps1 file is encrypted, is there any method to get the plain text?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.