• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: VBA Passwords

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "VBA Passwords"

Collapse

  • Grinder
    replied
    Originally posted by barbarian View Post
    Rising to Grinders challenge I then started on the VBA password, I created an Excel file with a 2 character VBA password saved,closed, and opened went into VB and opened the Password dialogue window. Then opened another instance of Excel and using VB, AppActivate and SendKeys, wrote a routine. And yes I cracked my own password – result. However when I tried this on the target file, it was still trying when I came back to it in the morning.

    Life’s too short, I chose the most respectable website offering I could find, chanced my VISA card paid $20, and I was lucky, it cracked the VBA password in under a minute.
    I would have used Workbooks.Open [filename], [password] and trap the error, but of course there are millions of possible passwords to generate.

    AppActivate & SendKeys is not the fastest way of doing it, but you did the right thing paying for a product to do it - a principle that IT outsourcing is built upon!

    Leave a comment:


  • barbarian
    replied
    Cracked it

    I received an MS Excel file from Germany containing Macros and just wanted to check it was legit.

    Yes as xoggoth says dropping into WordPad did reveal the contents of the sheets albeit that the orientation of the cell’s contents was sometimes rotated and yes certain parts of the VBA macro were visible, but I really needed more detail.

    In amongst all the ‘Freeware’, ‘Shareware’ and ‘DownRightDodgyWare’, I found a site that has an Excel Add-In that Unprotects both the ‘Sheets’ and the ‘Workbook’ itself.

    It does not reveal the original password but does provide a ‘Hashed’ password that also works on pristine copies of the same file.

    http://www.mcgimpsey.com/excel/removepwords.html

    It appears that the Add-In is free, or a least I hope so.

    Rising to Grinders challenge I then started on the VBA password, I created an Excel file with a 2 character VBA password saved,closed, and opened went into VB and opened the Password dialogue window. Then opened another instance of Excel and using VB, AppActivate and SendKeys, wrote a routine. And yes I cracked my own password – result. However when I tried this on the target file, it was still trying when I came back to it in the morning.

    Life’s too short, I chose the most respectable website offering I could find, chanced my VISA card paid $20, and I was lucky, it cracked the VBA password in under a minute.

    Leave a comment:


  • xoggoth
    replied
    The really stupid thing about passwords in Excel, probably other office progs too, is that if you just open the file in Wordpad you can read much of the content anyway.

    Leave a comment:


  • Grinder
    replied
    If you know VBA, can't you write one?

    All you have to do is come up with an algorithm to generate each possible password in turn.

    Leave a comment:


  • barbarian
    started a topic VBA Passwords

    VBA Passwords

    Does anyone have the URL of a free VBA Password Cracker. I have found 'try me' versions but they usually only reveal passwords 2 charaters in length?
Working...
X