Firstif the zip actually doesn't have a password on it then you will be able to extract the pdf files no problem. then the issue becomes opening the pdf files with a password you forgot. Google "pdf password" and you will find some links to software that can remove the password, the one I have used costed $30.
Second, you are mentioning the zip, because you probably can't unzip it. If this is the case, then there actually is a password on the zip file. Windows natively can't recognize this. You need to install 7Zip, Winzip or WinRar. any one of them will prompt you for the password that you don't even know is there.
If you have one of those programs and the Zip file really doesn't have a password and it still won't unzip, then you still need to run a password removal tool on the zip file even though it doesn't have a password.
Yes there is, as long as you are using a .xls format spreadsheet (the default for Excel up to 2003). For Excel 2007 onwards, the default is .xlsx, which is a fairly secure format, and this method will not work.
DISCLAIMER This worked for me and I have documented it here in the hope it will help someone out. I have not fully tested it. Please be sure to save all open files before proceeding with this option.
*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!
With my turn, this is built upon kaybee99's excellent answer which is built upon Đức Thanh Nguyễn's fantastic answer to allow this method to work with both 32/64 bit versions of Office.
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.
This is not valid for Excel 2007/2010 files. The standard .xlsx file format is actually a .zip file containing numerous sub-folders with the formatting, layout, content, etc, stored as xml data. For an unprotected Excel 2007 file, you can just change the .xlsx extension to .zip, then open the zip file and look through all the xml data. It's very straightforward.
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.
For Excel 2007 onward you need to change your file extension to .zipIn the archive there is a subfolder xl, in there you will find vbaProject.bin.Follow the step above with vbaProject.bin then save it back in the archive.Modify back your extension and voil! (meaning follow steps above)
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.
If the file is a valid zip file (the first few bytes are 50 4B -- used in formats like .xlsm), then unzip the file and look for the subfile xl/vbaProject.bin. This is a CFB file just like the .xls files. Follow the instructions for the XLS format (applied to the subfile) and then just zip the contents.
Tom - I made a schoolboy error initially as I didn't watch the byte size and instead I copied and pasted from the "CMG" set up to the subsequent entry. This was two different text sizes between the two files, though, and I lost the VBA project just as Stewbob warned.
Using HxD, there is a counter tracking how much file you're selecting. Copy starting from CMG until the counter reads 8F (hex for 143) and likewise when pasting into the locked file - I ended up with twice the number of "..." at the end of the paste, which looked odd somehow and felt almost unnatural, but it worked.
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.
ElcomSoft makes Advanced Office Password Breaker and Advanced Office Password Recovery products which may apply to this case, as long as the document was created in Office 2007 or prior.
The protection is a simple text comparison in Excel.Load Excel in your favourite debugger (Ollydbg being my tool of choice), find the code that does the comparison and fix it to always return true, this should let you access the macros.
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 oledump.py 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.
In my web app I need user to enter meetingId and meeting password (which for both there is no copy button in the zoom desktop), so to make it easier for user I want to let user copy paste the whole zoom meeting url, then I extract meetingId and password from Url, meetingId is straight forward, password seems to be hashed. I tried base64, and double base64, seems not to correct.
As it looks like this is related to the Zoom Desktop App, I recommend reaching out via our Feedback Form or reaching out to our Customer Support Team to submit a feature request. Those channels will make sure the feature request is sent to the right team.
Unfortunately, we are unable to respond to your open tickets at this time. We encourage you to leverage our Online Resources. If you are a part of a corporate account, and need advanced technical support beyond our Online Resources, please contact your Zoom account administrators.
I am unable to extract zip files secured with password using the Windows built-in compression utility. It prompted me for password and after I supplied one, it kept complaining "wrong password" although I'm pretty sure I entered the correct one.
The same problem occurred with 7zip too. I can only successfully extract the files using WinZip. However WinZip is proprietary and my company wouldn't want to pay for it. The zip files were created by our clients, we don't know how they created them. The zip files are just several hundred KBs.
Type the password into Notepad, then copy the password and paste it into WinZip, if it can extract the data then try and do the same for 7-zip and the Windows builtin. If it works for WinZip, but not for the other two, then your client probably compressed the file with a paid version of WinZip and that version is using proprietary encryption that the others can't access.
Note: I am really, really aware of what this means, security wise. I also understand that the user is supposed to be the master of their passwords and do not trust the server.
Everyone is fine with me having access to all passwords, there is no malicious or creepy intent here.
Why I ask the question: I am a typical 24/7/365 online, all-encompassing computer support for my family (this includes setting up the time on the oven) so I would like to simplify my life. And yes, I really understand the security implications.
That was the second option (second bullet in the post) in the solutions I thought about so far. Unfortunately it is not possible AFAIK to force someone to store their passwords in an organization. And knowing my family, there will be a 50% success in the implementation
Well, that last one could be a feature request.
Somewhere in my memory it is stored that i have seen it somewhere.
But it is not within the main bitwarden_rs code maybe i have seen it in some fork.
Yes I know but this is not sustainable for my usecase. It is really oriented to a complete trust kind of support, where the users are not computer litterate. This is why I why I need to cover all the bases, this is the case for instance with nextcloud where I can control all their files and back them up accordingly (and email, etc.)
3a8082e126