#dmg #disk-image #dictionary #attack #cracker #encrpyted

bin+lib dmg-cracker

Tool for performing dictionary attacks on encrypted DMG images on OSX

8 releases

0.1.7 Dec 21, 2023
0.1.6 Oct 3, 2023
0.1.4 May 31, 2023
0.1.3 Apr 8, 2023
0.1.1 Feb 21, 2023

#970 in Command line utilities

Download history 7/week @ 2024-02-16 16/week @ 2024-02-23 1/week @ 2024-03-01 7/week @ 2024-03-08 4/week @ 2024-03-15 47/week @ 2024-03-29 10/week @ 2024-04-05

57 downloads per month

Custom license and GPL-3.0-only

550KB
167 lines

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.

Dependencies

~4–12MB
~124K SLoC