Giter Site home page Giter Site logo

petemc89 / craxcel-desktop Goto Github PK

View Code? Open in Web Editor NEW
27.0 3.0 10.0 588 KB

Desktop application to unlock Microsoft Office password protected files.

License: MIT License

C# 100.00%
excel word powerpoint microsoft-excel microsoft-word microsoft-powerpoint microsoft-office office365 vba unlock

craxcel-desktop's Introduction

craXcel-desktop

Desktop application to unlock Microsoft Office password protected files.


image


What is craXcel

craXcel ("crack-cel") is a tool that makes removing various password protections from Microsoft Office files seemless. It works by directly amending the underlying XML files that make up modern Microsoft Office files.

Please note that craXcel cannot unlock encrypted files.


Supported applications

As of V1.0:

  • Microsoft Excel (workbook, worksheet, vba)
    • .xlsx
    • .xlsm
  • Microsoft Word (modify, format, vba)
    • .docx
    • .docm
  • Microsoft Powerpoint (modify, vba)
    • .pptx
    • .pptm

Important note on unlocking the VBA project of macro files

Upon unlocking the VBA Project of a Macro Enabled file, that file will state it has encountered issues and needs to recover... DO NOT PANIC, this is normal.

The steps to follow to complete the unlock is as follows:

  1. Open the unlocked file and click 'Enable Content' on the warning:

image

  1. Click 'OK' on the following pop-up:

image

  1. Open Visual Basic from the Developer toolbar:

image

  1. Open VBAProject Propeties under Tools:

image

  1. Navigate to the Protection tab and enter a new password (a one character password is fine, as we will be removing it again straight away). Click 'OK'.

image

  1. Head back in to VBAProject Properties > Protection tab, and de-select the 'Lock project for viewing' checkbox and clear any passwords in the boxes below. Click 'OK'.

  2. The modules will now be unlocked and you can save the document without having to repeat these steps.

image

Note to developers: If you're willing to take on the challenge of automating these steps (preferably without user input mimicking...) you are welcome to contribute!


How to use

  1. Add your files via the Add Button button
  2. Optional: Edit options via the Options button
  3. Click 'Unlock!'
  4. Your files will be saved to your home folder (Documents for Windows) in the folder named 'craXcel'

Installation

  1. Download the latest release's craXcel.zip (https://github.com/petemc89/craXcel-desktop/releases/latest)
  2. Unzip to a folder of your choice
  3. Run craXcel.exe

Or...

Build it from source!


Contributing

  • Open issues
  • Fork
  • Pull

craxcel-desktop's People

Contributors

petemc89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

craxcel-desktop's Issues

Microsoft Office - Additional Supported Extensions

There may be more extensions supported by the application without making any changes to the code (i.e. .ppsx - powerpoint show) works but is not listed as supported and therefore not selectable in the UI.

Additional XML based Office formats should be explored and added.

Error Handling

Currently there is limited Error Handling

Error handling should prevent application crashes and provide feedback on what has gone wrong, continuing with other processes where possible.

Microsoft Office - VBA Unlock Automation

Currently, unlocking VBA requires user intervention when opening the unlocked file for the first time:

  1. Open the unlocked file and click 'Enable Content' on the warning:
  2. Click 'OK' on the following pop-up:
  3. Open Visual Basic from the Developer toolbar:
  4. Open VBAProject Propeties under Tools:
  5. Navigate to the Protection tab and enter a new password (a one character password is fine, as we will be removing it again straight away). Click 'OK'.
  6. Head back in to VBAProject Properties > Protection tab, and de-select the 'Lock project for viewing' checkbox and clear any passwords in the boxes below. Click 'OK'.

This should be enhanced so that the application fulfills these steps. It should not accomplish this by mimicking user inputs (i.e. mouse, keyboard control)

Enhanced User Logging

Currently, logging logs 3 things:

  1. Application started summary (number of files)
  2. File unlocked confirmation (each file gets a confirmation/error message)
  3. Application finished summary (number of files successful)

This should be enhanced to provide more detail on the process, so:

  1. User options are logged at the start
  2. Each file should report:
    • Type of protection found
    • List of protections removed successfully

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.