Overview

safe_cracker provides basic dictionary and brute force attacks on password-protected files

The following file types are supported:

  • ZIP
  • Excel workbooks

DISCLAIMER: This software is for educational purposes only. This software should not be used for illegal activity. The author is not responsible for its use.

Quickstart

See the examples directory for more details. For instance, you can crack a really easy ZIP with the following:
python -m examples.01_mask_xt

Installation

Install the required dependencies with the following:
python -m pip install -r requirements.txt

Why?

I liked the idea of a safecracker, given a specific toolset, can attempt to crack any safe. I coded all of the like-classes similarly so that we can flexibly swap them in and out.

Beyond that, I mostly just wanted a fun little project to play with:

  • dictionary and mask attacks
  • threading, generators, and tqdm
  • chunking large generators

I also sleep better knowing I can recover passwords for long-forgotten files!

Resources

Warranty

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Roadmap

GitHub

View Github