Click here to Skip to main content
15,881,588 members
Articles / Programming Languages / C++
Article

Protected Storage

Rate me:
Please Sign up or sign in to vote.
3.15/5 (30 votes)
23 Feb 2004 158.8K   3.1K   34   28
This program wil reveal Outlook Passwords, Deleted Outlook Account passwords, IE:Password-Protected sites passwords, MSN Explorer Signup passwords, IE AutoComplete Passwords, IE Auto Complete Fields , and in 9x it will show the cached dialup passwords

Introduction

Passwords are stored using Protected Storage in Windows 2k and XP. This program will reveal :-

  1. Outlook Passwords
  2. Deleted Outlook Account passwords
  3. IE : Password-Protected sites passwords
  4. MSN Explorer Signup passwords
  5. IE AutoComplete Passwords
  6. IE Auto Complete Fields in 9x it will show the cached dialup passwords

Background

There is a tool called Protected storage Explorer at CodeProject itself but it does not have source code. I tried to do what this program does by looking at that tool without any source code - lol - and that tool helped me to do this program.

Using the code

This Program first enumerates the outlook accounts from registry located at HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Account Manager\\Accounts first and then storing it in a structure.

SMTP Password2 - this string value contains the corresponding ItemName of protected storage data password of that account, then it continues enumerating the protected storage; loads the pstorec.dll and gets the address of function "PStoreCreateInstance". Then it calls PStoreCreateInstance to get an instance of IPStore, then it will enumerate the protected storage passwords. It will also enumerate cashed passwords in Win 9x.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
India India
www.hirosh.net

Comments and Discussions

 
GeneralRe: What About ... Pin
Jeroen-bart Engelen24-Sep-05 2:52
Jeroen-bart Engelen24-Sep-05 2:52 
GeneralRe: What About ... Pin
Y_R26-Sep-05 12:25
Y_R26-Sep-05 12:25 
GeneralRe: What About ... Pin
Jeroen-bart Engelen27-Sep-05 3:57
Jeroen-bart Engelen27-Sep-05 3:57 
GeneralCompiled demo doesn't work Pin
RaulBove25-Feb-04 4:24
RaulBove25-Feb-04 4:24 
GeneralRe: Compiled demo doesn't work Pin
ccache3-Sep-04 8:34
ccache3-Sep-04 8:34 
GeneralRe: Compiled demo doesn't work Pin
BugMeNotFTW12-Jun-10 19:58
BugMeNotFTW12-Jun-10 19:58 
GeneralWhy I Gave It a 2 Pin
Johann Gerell24-Feb-04 20:59
Johann Gerell24-Feb-04 20:59 
GeneralRe: Why I Gave It a 2 Pin
maffersistheone18-Oct-04 5:42
maffersistheone18-Oct-04 5:42 
I agree - as a total novice who wants to learn more... I have no idea of how to use this or the workings of the code.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.