Coder Social home page Coder Social logo

dmg-cracker's Introduction

DMG Cracker

Linting and tests codecov License: MIT

CLI for performing dictionary attacks on encrypted Apple Disk Image files (.dmg)

While this tool offers a solution for accessing encrypted disk images, it is important to note that it is intended for personal use only and should not be used for illegal purposes. The author assumes no responsibility for any misuse of the tool and it is the responsibility of the user to comply with all applicable laws and regulations.

Demo GIF

Installation

cargo install dmg-cracker

Upcoming features

  • investigate implementing AES decrpytion manually. Current road block being a method of extracting the key generation salt from the dmg file headers
  • support for testing different permutations of a given password list
  • increase test coverage

Testing / Contributing

Any contributions or issue raising is welcomed. If you wish to contribute then:

  1. fork/clone this repo
  2. make changes on a branch taken from main
  3. submit a pull request against main

Pull requests will be blocked from merging automatically if:

  • there are failing tests
  • linting rules have been violated.

Updating package

  • bump version number in cargo.toml and cargo.lock
  • commit version bump
  • create new release on github
  • cargo publish

dmg-cracker's People

Contributors

dependabot[bot] avatar james-ecd avatar

Stargazers

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

Watchers

 avatar  avatar

dmg-cracker's Issues

attempting to open dmg

Attempting to run the application on an encrypted dmg, receiving the following error:

thread 'main' panicked at /Users/[cleared]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dmg-cracker-0.1.7/src/lib.rs:18:66:
called Result::unwrap() on an Err value: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

No password was found

Hi I'd appreciate some help getting this to run. I already troubleshooted the chunk size non zero issue from another ticket. Now when I run the cmd I get "No password was found". It instantly comes up with this without it even seeming like it tried to crack it. Maybe I am doing the password.txt wrong? I verified that it was a plain text document and I put 4 passwords that I think it could be spaced out like this eg. below.

Example password.txt
Applebees

Mcdonalds

Starbucks

Whataburger

I am running the cmd like this dmg-cracker -p /Users/(myusername)/Documents/crackthis/test-small.txt -d /Users/(myusername)/Documents/crackthis/InsuranceCards.dmg -t 4

Thank you for any help you can give!

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.