top of page

Support Group

Public·35 members
Jason Morris
Jason Morris

Word Visual Basic Password Crack [CRACKED]

I found some code to break a password using brute force which is below (written it from with Excel). The only issue is when I use Documents.Open if the password is wrong word shows the dialogue box - is there anyway to get round this?

Word Visual Basic Password Crack

As "Matt" said simply converting the file extension to .zip and then editing the .xml file using notepad or notepad++, removing the entire line after w:documentprotection all the way to /> and then resaving the new .xml file inside the .zip folder will remove the password protection. Tried and tested in Word 2016. Just don't forget to rename the now edited zip folder back to .docx so its readable in Word. All credit to Matt.

I adjusted your original code, so it's not dependent on the password being a certain length. Also it will now move from left to right, adding a new character with each pass, and prevents the popups when trying to open the document. This can be used for workbooks as well.

WARNING** The brute force method is really not even worth it. It takes a very long time to run. If it is an encrypted password, then this may be the best option without downloading a third party password breaker.

*NOTE: Be sure that you have changed the password to a new value, otherwise the next time you open the spreadsheet Excel will report errors (Unexpected Error), then when you access the list of VBA modules you will now see the names of the source modules but receive another error when trying to open forms/code/etc. To remedy this, go back to the VBA Project Properties and set the password to a new value. Save and re-open the Excel document and you should be good to go!

Colin Pickard has an excellent answer, but there is one 'watch out' with this. There are instances (I haven't figured out the cause yet) where the total length of the "CMG=........GC=...." entry in the file is different from one excel file to the next. In some cases, this entry will be 137 bytes, and in others it will be 143 bytes. The 137 byte length is the odd one, and if this happens when you create your file with the '1234' password, just create another file, and it should jump to the 143 byte length.

However, when you password protect an Excel 2007 file, the entire .zip (.xlsx) file is actually encrypted using RSA encryption. It is no longer possible to change the extension to .zip and browse the file contents.

It's simply a matter of changing the filename extension to .ZIP, unzipping the file, and using any basic Hex Editor (like XVI32) to "break" the existing password, which "confuses" Office so it prompts for a new password next time the file is opened.

Microsoft Office VBA Project passwords are not to be relied upon for security of any sensitive information. If security is important, use third-party encryption software.

In the event that your block of CMG="XXXX"\r\nDPB="XXXXX"\r\nGC="XXXXXX"in your 'known password' file is shorter than the existing block in the 'unknown password' file, pad your hex strings with trailing zeros to reach the correct length.

Colin Pickard is mostly correct, but don't confuse the "password to open" protection for the entire file with the VBA password protection, which is completely different from the former and is the same for Office 2003 and 2007 (for Office 2007, rename the file to .zip and look for the vbaProject.bin inside the zip). And that technically the correct way to edit the file is to use a OLE compound document viewer like CFX to open up the correct stream. Of course, if you are just replacing bytes, the plain old binary editor may work.

I don't know if it is crucial, but I made sure I shut both the hex editor and excel down before reopening the file in Excel. I then had to go through the menus to open the VB Editor, into VBProject Properties and entered in the 'new' password to unlock the code.

The truth is that the code files for most macro-enabled Office documents are not encrypted and the password only prevents opening the project with Office programs.This means that, as other answers suggested, you can usually use an Office alternative to access and edit the file.

However, if you just need access to the code, you can use a tool like to extract the Macro code. This is useful for malware analysis, as well as getting most of the code from the file so that you don't have to start from scratch if you forget the password.

For Excel 2016 64-bit on a Windows 10 machine, I have used a hex editor to be able to change the password of a protected xla (have not tested this for any other extensions).Tip: create a backup before you do this.

Step 4: Type the following VBA code to decrypt Word password.Sub test()Dim i As Longi = 0Dim FileName As StringApplication.FileDialog(msoFileDialogOpen).ShowFileName = Application.FileDialog(msoFileDialogOpen).SelectedItems(1)ScreenUpdating = FalseLine2: On Error GoTo Line1Documents.Open FileName, , True, , i & ""MsgBox "Password is " & iApplication.ScreenUpdating = TrueExit SubLine1: i = i + 1Resume Line2ScreenUpdating = TrueEnd Sub

Many individuals, working professionals, and organizations want to remove passwords from Word VBA projects due to a variety of reasons. If you are also one of them, then you have landed on the correct Web page. Here, team BitRecover is going to explain the complete process of removing passwords from Word VBA projects.

am the owner of a software developing IT company. I have some Word VBA projects in *.dot, *.docm, *.dotm file extensions that are protected with passwords. Actually, one of our developers who developed these Word VBA projects left the organization. Now I need to reuse these projects but they are asking for passwords. I, therefore, want to remove all the passwords from these Word VBA projects.

VBA Password Unlocker by BitRecover is the perfect software to remove Word VBA project password. This is a professional method of removing Word VBA Password without losing any crucial information from macros and modules.

This is an easy-to-use software to remove password from Microsoft Word projects. It comes with an interactive and user-friendly user interface and is easily operable by both technical and non-technical users. You can download and install it on all the latest Windows OS.

How to hack a password protected Word document if you lost the password and are unable to open it? The only way to resolve this issue is hacking the password. In Microsoft Word, people can create a password to protect their document from unauthorized access or change. However, in case that you lose the password, Microsoft Word cannot help you recover the password. So you need some special methods to help resolve this issue.

Note: Solution 1 is one of the most popular Word password hacking method which is free and easy to use, but it only work for doc file encrypted in Microsoft Word 2003, 2002, 2000, XP and 97. If you need to hack a long password for Word doc/docx file which encrypted in Word 2019, 2016, 2013, 2010, 2007, 2003, 2000, XP or 97, you can use Solution 2.

2.The VBA code will run in background to search for the correct password for the selected doc file. When the password is successfully found out, it will open the document and the original password will be displayed.

Besides of using VBA code, the only way available for hacking Word password is using a professional password recovery tool. Make a general survey at password recovery tools on the Internet, Office Password Rescuer is one of the best file password recovery tools.

With help of Office Password Rescuer, you can easily hack your Word doc password without losing data. You also can use it to hack password for Excel, PowerPoint, Access database, Outlook storage file, etc. At present, it is working perfectly for all versions of Office such as 2019, 2016, 2013, 2010, 2007, 2003, 2000, 97, etc.

It can become necessary to password-protect a Word document for a variety of reasons. One of the most common reason is when the document contains information you don't want others to see although you could also protect a Word document when you don't want others to make changes to it. But it is not unheard of for someone to completely forget the password they used to protect the document. When this happens, it can mean that it is impossible for you to access your own document again.

But before being panic, it may be comforting to you to know that there are several ways to recover Word password, many of which we will share with you in this article. Of course, the complexity of the password will come into play since it is much easier to recover a relatively simpler password. But even if your password is highly complex, there are stil l ways to unlock the document. Let's get started on these ways.

If you are the one who set the password on the document, chances are that you know what it could be. More often than not, we use the same password for different purposes or variations of the same password to make it easier to remember. Therefore, you may want to try all the passwords you've used before in different combinations.

You should also try birthdays, nicknames, names of family members and other commonly used password combinations. Maybe you even wrote it down somewhere, in which case, you may want to check your computer or notes for the password. If you do all of this and you're still unable to find the password, try one of our more advanced solutions.

If you don't have an idea of what the password could be or you're not the one who sets the password, the only way to recover it is to use a Word password recovery tool. These tools can be highly effective in helping you recover the password and then use it to unlock the document. Of the myriad of tools available in the market, one of the most effective is Passper for Word. Aside from a very high recovery rate, the following are just some of the reasons why Passper for Word may be the best tool for the job:


Welcome to the group! You can connect with other members, ge...


bottom of page