Crack Excel Sheet.rar
Закачек 1499
Средняя скорость 9614 Kb/s
Скачать

Crack Excel Sheet

Category: Documents

http://www.mcgimpsey.com/excel/removepwords.html . VBA Samples Microsoft Excel Crack Sheet Protection Password This routine provides a password to unprotect your worksheet. However, it may not give you the original password that was used. Open the workbook that has the protected sheet in it. Hit Alt+F11 to view the Visual Basic Editor. Hit Insert-Module and paste this code into the right-hand code window: Sub PasswordBreaker() ‘Author unknown but submitted by brettdj of www.expertsexchange.com Dim i As Integer, j As Integer, k As Integer Dim l As Integer, m As Integer, n As Integer Dim i1 As Integer, i2 As Integer, i3 As Integer Dim i4 As Integer, i5 As Integer, i6 As Integer On Error Resume Next For i = 65 To 66: For j = 65 To 66: For k = 65 To 66 For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66 For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66 For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126 ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _ Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _ Chr(i4) & Chr(i5) & Chr(i6) & Chr(n) If ActiveSheet.ProtectContents = False Then MsgBox «One usable password is » & Chr(i) & Chr(j) & _ Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _ Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n) ActiveWorkbook.Sheets(1).Select Range(«a1»).FormulaR1C1 = Chr(i) & Chr(j) & _ Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _ Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n) Exit Sub End If Next: Next: Next: Next: Next: Next Next: Next: Next: Next: Next: Next End Sub Close the VB Editor window. Navigate to the worksheet you want to unprotect. Hit Tools-Macro-Macros and double-click PasswordBreaker in the list. End http://datapigtechnologies.com/blog/index.php/hack-into-a-protected-excel-2007or-2010-workbook/ Hack into a protected Excel 2007 or 2010 Workbook September 26, 2011 by datapig Leave a reply » I’m back from the Power Analyst Bootcamp in Washington DC – and of course, it was a success. 37 of the finest analysts attended the 2-day event, where we shared our passion for Excel, deli meats, and spicy tricks and tips. In the end, everyone left with a bag full of new techniques that will make them better analysts. . While I was gone, there seems to have been a flurry of activity and questions in reference to hacking into a protected workbook. A couple of years ago, I posted a slick technique you can use to hack into a protected 2007 worksheet. Apparently, hacking in a protected workbook is also a highly desired talent. So today, I’ll walk through the steps to hack into a protected workbook. . Excel 2007 and 2010 files are essentially zipped packages that contain XML files. This means that if you take an xlsx file and change the extension to zip, you’ll be able to see all the xml documents that make up your Excel file. Not only that – you can change the content and properties of an Excel 2007 file simply by manipulating the XML documents that make it up. . That’s right. You can remove workbook protection simply by applying a simple edit to the xml within the Excel file. . When you encounter a protected workbook, it’s typically locked down so that you can’t change the structure of the workbook. This means you can’t unhide sheets, delete tabs, add sheets, or change the workbook structure in any way. . So let’s start hacking. . Step 1: Make a backup of your file in case things take a turn for the worse. Step 2: Change the file extension to zip. . Step 3: Extract the contents of the zip file. Step 4: Go to the extracted files and navigate to the xml for the target sheet (found in the ‘xl\worksheets’ directory) . Step 5: Open the target sheet’s xml document using an XML editor (I use a free editor called XML Marker) Step 6: Find the ‘workbookProtection’ tag and remove the entire line. . Step 7: Save the edited xml document and replace the old xml document found in the original zip file. Step 8: Change the extension back to xlsx. . At this point, your workbook is unprotected! . . A couple of notes: 1. Any password you see in the XML file is not the real password, nor will it work if you try to use it. It’s worthless. 2. It seems as though this will only work on workbooks that have been protected for structure only. If the workbook has been protected for structure and ‘Windows’, something prevents you from even opening the Open XML package. 3. You obviously cannot do this for Excel 2003 or any kind of xls files. • • Previous Entry: Coming up with Application Names Next Entry: Show AutoFilter Criteria in Status Bar Posted in Excel Tips and Tricks Tags: Excel Tips and Tricks You can follow any responses to this entry through the RSS 2.0 Feed feed. You can leave a response, or trackback from your own site. Advertisement 15 Responses Add your comment 1. Tim says: September 26, 2011 at 6:00 pm This sounds like it could be useful for me. I work with a lot of trolls that like to protect workbooks and then hide sheets in order to hide their shoddy analysis. Now I can open those hidden tabs and see what they’ve done. 2. Saracen says: September 27, 2011 at 7:56 pm All the more reason not to use crappy Microsoft Office. Other office software, such as LibreOffice, actually encrypts the data stored within its file when there’s a password set. 3. Peter says: October 2, 2011 at 10:44 am So they completely screwed up all the automation that worked perfectly in 2003 on the grounds of “security” and caused about a billion professionals to tear their hair out but left the file structure wide open! Although to be strictly fair you can break the passwords in Office with a bent paperclip anyway so anyone with anything that needs to be kept secure shouldn’t be usng it – fine for keeping your Christmas card list or recipe collection not so good for banking. My concern is that because it is so flexible and ubiquitous folk embed Office products into other systems without realising the gaping holes they are leaving in security and integrity. 4. Manuel says: October 5, 2011 at 8:51 pm You are able to do this in a protected Microsoft word by searching for “Protect” and deleting the line out of the xml file. As for the Excel 2003 files being unable to remove the password it is possible if you save the file in a xlsx or xlsm format follow the steps you provided and then save back in xls format. 5. ross says: October 7, 2011 at 11:32 pm Worksheet protection is not a security feature, so you should not be surprised that’s its easy to brake. its meant to be like that. 6. michael says: November 7, 2011 at 7:22 pm when working with the xml bit i am using an xml editor called liquid xml (http://www.liquid-technologies.com/xmleditor.aspx), better than messing around with excel! 7. Ar says: November 25, 2011 at 9:48 am i didnt find the WprkbookProtection key word in the xml file. where n how to get it? help. 8. Golly says: December 6, 2011 at 5:26 pm I run office 2007 SP2 MSO and this doesn’t work. The unzipped folder contains “[6]Data Spaces” (a folder) and “EncryptedPackage” and “EncryptionInfo” (to files without extension). Inside the folder, more files without extension. 9. Vijay says: January 17, 2012 at 9:58 am Not working with microsoft strong encrypted protection…. when we zip it shows a damage file always… does anyone can help to find out the solutions without any software?? 10. ss says: February 6, 2012 at 11:08 pm Exactly same problem i have faced as vijay says, when try to open the zip file it says that either file damaged or corrupted…….does anyone help to get solved this . 11. Arjun says: March 23, 2012 at 9:21 pm Even i am facing the same issue please help me solve this :’( 12. Ken Domingo says: May 9, 2012 at 8:17 am i cannot open the .zip file. it says “the archive is in an unknown format or damaged”. any help? i used WinRAR and windows explorer but i cannot open 13. datapig says: May 10, 2012 at 2:21 pm Ken: Try using winzip or the built in windows zip. 14. Faisal says: May 24, 2012 at 6:31 pm I have an excel workbook (protected). i have changed the extension to .zip and tried to extract the file. it is giving me following error. “The following file could not be opened or it is not a valid .zip file” Please advise. Regards, 15. xx213 says: May 25, 2012 at 12:09 am I wrote this excel version for fun and for free – no installation required. Just open this workbook (http://www.mannjones.com/ExcelCracker.aspx) , click Quick Run , navigate to your sheet and voila … workbook and worksheet unprotected. End http://geekswithblogs.net/GinoAbraham/archive/2011/02/03/crack-protected-excel-sheet.aspx Connection Pooling issue in ODP.Net | Home | Issue While uploading a image to share point 2010 picture library. >> Crack Protected Excel Sheet The following snippet will allow you to unprotect an excel sheet which is protected using a password. press Alt + F11 when the excel is open, it will open up VB macro editor. Insert a Module and copy the following code. this will clear the password and you will be free to edit the file. if you want to unprotect the workbook rather the a work sheet change ActiveSheet to ThisWorkbook in the following code. Happy Cracking Sub CrackPassword() Dim Dim Dim Dim v1 v2 v3 v4 As As As As Integer, Integer, Integer, Integer, u1 u2 u3 u4 As As As As Integer, Integer, Integer, Integer, w1 w2 w3 w4 As As As As Integer Integer Integer Integer On For For For For v1 v2 v3 v4 = = = = Error Resume Next 65 To 66: For u1 = 65 To 66: For w1 = 65 To 66 65 To 66: For u2 = 65 To 66: For w2 = 65 To 66 65 To 66: For u3 = 65 To 66: For w3 = 65 To 66 65 To 66: For u4 = 65 To 66: For w4 = 32 To 126 ActiveSheet.Unprotect Chr(v1) & Chr(u1) & Chr(w1) & _ Chr(v2) & Chr(u2) & Chr(v3) & Chr(u3) & Chr(w3) & _ Chr(v4) & Chr(u4) & Chr(w4) & Chr(w2) Next: Next: Next: Next: Next: Next: Next: Next End Sub Next: Next: Next: Next

http://www.mcgimpsey.com/excel/removepwords.html . VBA Samples Microsoft Excel Crack Sheet Protection Password This routine provides a password to unprotect your worksheet.…

Crack GMAT Study Sheet

TIME DISTANCE Example 1. A man travels a distance of 61 km in 9 hours partly on foot at the rate of 4 km/h and partly on bicycle at 9 km/h. How much distance does he cover…

Concrete Design Excel Sheet

Excel sheet for designing RCD

Excel Cheat Sheet

excel text string, formulas, cell counting, conditional formatting

Payroll Calculation Sheet Excel
Fuzzy Calculations Excel Sheet

Sample Linguistic Variables and Calculations with Fuzzy Numbers

Excel Time sheet
Multi Sheet Excel Post

Creating Multi-Sheet Excel Workbooks with ODS David Shamlin R&D Director Copyright © 2003, SAS Institute Inc. All rights reserved. Agenda 1. Combine multiple HTML files…

Excel Practice Sheet

EatCake Sales Forecast Month NA NA NA NA NA NA NA Jan Jan Jan Jan Jan Jan Jan Feb Feb Feb Feb Feb Feb Feb Mar Mar Mar Mar Mar Mar Mar Apr Apr Apr Apr Apr Apr Apr May May…

ROI excel sheet
Birth Details Excel Sheet

15 Enter your DOB 10-Aug-84 MM-DD-YYYY Age in years Age in months Age in days Age in hours Age in minutes Age in seconds Age in Milli seconds Age in weeks You born on 27.02…

shaft alignment excel sheet

Alignment calculations with dials configuration 1 readings of the dials type 1 type 2 type 3 type 4 result optalign r0 rim 12 oclock 0.000 0.000 0.000 0.000 0.000 0.020 r3…

Concrete Design Excel Sheet

1. REINFORCED CONCRETE BEAM DESIGN (SIMPLY SUPPORTED) Beam Length= Beam Width= Over-all Depth= Tributary Area= Adjacent Slab Thickness= Height of Partition= Thickness of…

Qtp excel sheet methods
Advace Excel Sheet

presentation of Advance Excel Sheet and its working

Expenses Sheet Excel September

EXPENSE STATEMENT Name of Employee: ANUSHREE MAHALE Designation: MARKETING EXECUTIVE Period of Reimbursement from: 3/9/2012 To: 24/9/2012 DAILY ALLOWANCE 270 270 0 0 0 270…

Excel formulas cheat sheet

1. Excel Formulas Cheat SheetFunctionsFormulas OperatorsSUM=sum(A1+B1+C1) + (add) =sum(A1:C1)- (subtract) Use the formula above if you are +/-/* or /* (multiply) more than…

QTP Excel Sheet Operations

QTP,VBScript,qtp script,qtp scripts,Automation,automation framework,automation estimation technique,automation estimation technique, QTP Interview questions,QTP real time…

2013 Excel Cheat Sheet

Quick Start Guide Microsoft Excel 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve. Add commands to the Quick…

It is always annoying when forgetting passwords. It is also annoying when you inherit a document from a previous employee and it is protected by a password only they knew. But your boss asked for you to get the data from that spreadsheet and change some things and Right now! What are you going to do?

Well the good news is that if the document isn’t encrypted, this process is pretty straightforward. You will be up and running in no time! AND you don’t have to spend $40 on some software you will use only once.

If you need to crack a Word Document as well, check out my Crack Microsoft Word Password Free post.

Crack Microsoft Excel Password Instructions

These instructions cover the process of breaking edit/read only protection on Microsoft Excel workbooks and worksheets. This WILL NOT work on Excel files that have been encrypted.

Disclaimer:

There can be a number of reasons for breaking password protection on an Excel file. Before we start, please note that I take zero responsibility for the results of these instructions. You are the master of your own actions and by proceeding, you take full responsibility of your own actions.

Step 1: Make a Backup of Your File

You will be making changes to the internal structure of your document. It is good practice to create backups before starting.

Step 2: Check your file format

This will only work on Excel files that are 2007, 2010, 2013 and have “.xlsx, .xlsm” formats. If your document is in an older format “.xls” from Excel 2003 or older, open in Excel 2007, 2010, or 2013 and save as an “.xlsx file”. If your excel file has macros, save as an “.xlsm” file to enable macros.

Step 3: Disassemble your Document

Because the .xlsx file format is based on a tree structure with XML files, it is easy to disassemble. For this example, I protected both the individual worksheet and workbook on my sample excel file. We will break this protection by changing some settings in the file.

For the disassembly process, the main file compression utility in windows will work just fine. For the first part of this demo, I am using WinRAR (Free to download). If you can’t install WinRAR, please scroll down to see the alternate disassembly process using the Windows built-in file compression tool.

Disassembly with WinRAR:

  1. Open WinRAR and click the File menu.
  2. Select Open archive.
  3. Set the file type at the bottom from “all archives” to “all files”.
  4. Locate your Excel file and click “Open”

Step 4: Remove Password Protection

The root view of the excel file structure:

The files you are going to edit are in the xl folder that is circled in red.

For Workbook(whole excel file) Settings:

For Individual Worksheet File Settings:

xl>worksheets>sheet1.xml [sheet2.xml] – etc…

Make your Changes

Browse to xl>workbook.xml and double click on the file. If you are prompted to select an application, always select NOTEPADNOT WORDPAD!

If you are unfamiliar with XML, this might look strange. Find the line that looks like:

Change lockStructure=”1″ to lockStructure=”0″

Save and Close the XML file you just edited

WinRAR will tell you that “workbook.xml” was modified and ask you to update it in the archive. Select YES.

Browse to xl>worksheets>sheet1.xml(or sheet2, sheet3, etc…) and double click on the file.

Delete the whole line that looks like:

Save and Close the XML file you just edited

When prompted to update the archive with the file you just modified, select YES.

Close out of WinRAR and Open your file.

NOTE: If you are using Excel 2010, the following buttons may need to be clicked on to “unstick” them:

Once unstuck, you should now be able to edit the document as you please.

Alternate Disassembly Instructions – Windows Archive Tool

By default, file extensions are hidden for common document types. You will need to change your folder settings to show file extensions.

Here are some instructions that should cover Windows XP, Vista and Windows 7:

Once you can see the file extension of your Excel Document file, change the file extension from .xlsx, .xlsm to .zip – after the change, you will get a warning that you are changing the extension. Click OK or YES to accept.

Now that your file is in a .zip format, right-click on your file and select Open With>Windows Explorer

Click “Extract all Files”, select your file destination and click “Extract”

Remove Excel File Password Protection

Refer to Step 4 above for changes

Make your changes, save your files and move to the next step

Alternate Instructions for Reassembly

  1. Select all your files (_rels,docProps,xl,[Content_Types].xml, etc…), right-click and select: Send to>Compressed (zipped) folder. If you create your archive by selecting your main folder and not all of the files, you may run into errors when re-opening.
  2. Change the file extension of your archive back to the original – .xlsx, .xlsm. When prompted to confirm changing the file extension, select yes.
  3. You should be able to open your fixed excel file. NOTE: your new filename will be whatever file you right-clicked on to create the archive. Feel free to change it back.

Please comment if you get stuck. Likewise if you have other questions or improvements.

It is a misconception that Visual Basic for Applications (VBA) language passwords in Excel spreadsheets of XLSX or XLSM format cannot be broken. There are few programs available with definite algorithms that can decode VBA project password for all versions of Excel including 2007. MS Excel 2007 creates XLSX file by default whereas it forms XLSM file when macros are enabled. Hence, though developers apply Visual Basic Application password to prevent access to the pass-code of the VBA macro, it is possible to crack VBA project password in Excel 2007 worksheet and workbook. Several programmers have devised ways to clear the applied password that allows users to gain accessibility like viewing, editing, etc. The present blog goes into exploring the different ways that can be employed to break the passwords.

What Does VBA Password Restrict in XLSX & XLSM Files?

A password or cipher can be applied by the developers to lock the VBA macro so as to prevent end users from viewing and modifying the Excel VBA project modules and User Forms in the XLSX files. Moreover, when it is tried to expand the project it prompts for a password. Same is the case with macro enabled VBA macro created in Excel worksheets that forms XLSM file. An end user is allowed to use the macros but restricted to view or modify the embedded macros unless password created by the developers is known. Hence, in such cases utilization of Excel macro tool becomes necessary in addition to de-coding VBA password in Excel 2007 XLSX files. Also if the end users are the developer themselves, it is quite possible that he/she has forgotten the password.

Note – XLSM files are same as .xlsx files but with macros enabled. However, because of security concerns Excel does not enable macros by default and forms .xlsx files by default.

VBA Macro Password Removal in Excel 2007 (XLSX & XLSM File)

This section provides different methods that can be utilized by users who have lost or forgotten the Visual Basic Application password from .xlsx & .xlsm files. The methods as how to crack VBA macro password in Excel 2007 is explored in this section.

Cracking Excel XLSX File VBA Password with 7-Zip Software

This method utilizes 7-Zip software which is free-of-cost, Open Source File Archiver. With this method, VBA password from files of .xlsx format (combination of ZIP compression and XML architecture) can be cleared and not actually cracked. The below mentioned steps must be followed in sequential manner.

Steps Are Shown Below:

  1. Open the Excel 2007 XLSX file with 7-Zip.
  2. Browse to xl/worksheets/ folder.
  3. Right click on the sheet1.xml, sheet2.xml, etc. and chose option Edit.
  4. Find the portion
  5. Clear the encrypted password (i.e. )
  6. Thereafter, save the file.
  7. When 7-Zip prompts to update the archive it should be allowed.
  8. Close 7-Zip and re-open the XLSX file.
  9. Click Unprotect Sheet on the ‘Review’ button.
  10. Finally save the file after removal of password.

VBA Password Cracking Using ‘HxD Hex Editor’ Software

XLS files manage the VBA password by simply comparing the strings. Therefore, one method for cracking the password is simply by swapping the password entry in the file using hex editor tool. This method follows the algorithm of forming a spreadsheet with a known password and then copying in the appropriate fields. This method works correctly a lot of time. However, if it is tried to paste the wrong number of bytes into the file the VBA project shall get lost while opening the file with Excel.

Note 1 – Here, in this method the Excel 2007 XLSM file must first be saved in .xls format.

Note 2 – In this method HxD – Freeware Hex Editor, a simple disk editor software application has been used to break-in into the password.

Steps

  1. Create a backup of the file at a safe location.
  2. Make a new Excel file of .xls format.
  3. In the VBA part (ALT + F11) setup any simple password (E.g.234).
  • For this, first click upon Tools tab as shown in the image below.
  • Then in the window, VBA Project – Project Properties, go to ‘Protection’ tab enter the password and confirm password field to view properties of the project.
  • Then setup any random password of choice and click OK as shown in the image below.

  1. Save the file and then exit.
  2. Open the created-file, with ‘Hex editor’
  3. Copy the lines starting with the following keys in the HxD tool as shown in the figure below.
  • CMG=….
  • DPB=….
  • GC=….

  1. Open the file of which the VBA password has to be cracked with Hex Editor and paste the copied CMG, DPB and GC lines from the dummy file that had been created earlier.
  2. Thereafter, save the Excel file and then exit.
  3. Lastly, open the Excel file of which the VBA password has to be broken. The password for the VBA code will simply be 234, the same as set in Step 3.

VBA Password Cracking Using ‘XVI32 Hex Editor’ Software

Note 1 – Here, in this method the Excel 2007 XLSM file must first be saved in .xls format.

Note 2 – In this method XVI32 Hex Editor, a simple disk editor software application has been used for cracking the password.

Steps

  1. Download the XVI32 Hex Editor application.
  2. Save the workbook as XLS file and make a backup copy.
  3. Open the workbook in the XVI32 Hex Editor that looks like the one shown in the image below.
  4. Locate and replace the DPB keyword as displayed in the figure below.
  • The text string actually point to Excel file tag for the VBA password.
  • In order to get around the VBA Password prompt, users just need to mess the tag a bit. This can be done by simply changing the DPB to DPX (i.e. the letter B must be replaced with X).
  1. Close the editor and save the alterations made.
  2. Open the newly formed Excel workbook. On doing this a pop as shown in the figure below will come up on the screen where the option ‘Yes’ must be clicked upon.
  • At times, an error with code 40230 many also occur, which must be ignored.

  1. Finally, the VBA protection must be removed. This can be done by visiting the Visual Basic Editor (Alt+F11) and then selecting View>>Project Explorer. Then right click on the VBA Project for the Excel workbook and select VBAProject Properties as displayed in the image below.
  • In the ‘Project Properties’ dialog box, go to the Protection tab and clear all selections and text in the password field as displayed in the figure below.
  1. Lastly, save and close the newly created unprotected Excel spreadsheet. Now, if the new Excel 2007 worksheet is opened it will not have any VBA password.

Conclusion Drawn:

Undoubtedly, all the three above described free manual methods can be utilized to crack VBA project password in Excel 2007 worksheet. However, success is not guaranteed and depends on the user’s technical knowhow to execute the procedures correctly. The methods also do not ensure 100% success always. Therefore, to achieve cent percent outcome any external tool is indeed essential to be brought in use. Although several professional utilities are available, the one which can be relied upon is VBA Password Remover. One stop solution to unlock and erase VBA password. It is featured by numerous advanced capabilities like the one’s mentioned below:

  • Effectively replace password from single VBA document with ease.
  • MS Office editions like 2007, 2003, 2000, 97 & XP are supported.
  • Supports mot just XLSX and XLSM file but .doc, .xls, .xls, .mdb, etc.
  • Retrieves password of any length efficiently in simple manner.
  • Erases older password and generates a new one.
  • Can recover multilingual VBA macro password too.


Статьи по теме