• Stars
    star
    178
  • Rank 213,608 (Top 5 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created over 9 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DMG2IMG allows you to convert a (compressed) Apple Disk Images (imported from http://vu1tur.eu.org/dmg2img). Note: the master branch contains imported code, but lacks bugfixes/features from the develop branch. "develop" branch is recommended!

DMG2IMG

DMG2IMG is a tool which allows converting Apple compressed dmg archives to standard (hfsplus) image disk files.

This tool handles zlib, bzip2, and LZFSE compressed dmg images.

Usage:

dmg2img [-l] [-p N] [-s] [-v] [-V] [-d] <input.dmg> [<output.img> | -]

or

dmg2img [-l] [-p N] [-s] [-v] [-V] [-d] -i <input.dmg> -o <output.img | ->

Options: -s (silent) -v (verbose) -V (extremely verbose) -d (debug)
         -l (list partitions) -p N (extract only partition N)

See the original README file for platform-specific instructions to open or mount the resulting output file.

The original author is vu1tur, http://vu1tur.eu.org/dmg2img. This Git repository is maintained by Peter Wu at https://github.com/Lekensteyn/dmg2img based on imported tarballs. It includes bug and security fixes and further enhancements.

Building

Required packages:

  • zlib1g-dev (zlib support)
  • libbz2-dev (bzip2 support)
  • libssl-dev (only required for vfdecrypt, not needed for dmg2img)

LZFSE decompression support requires the LZFSE library which can be found at https://github.com/lzfse/lzfse/. As this library is not widely available on Linux distributions, it is not enabled by default.

To build dmg2img:

make dmg2img

To build dmg2img with LZFSE support:

make dmg2img HAVE_LZFSE=1

To build dmg2img with Address Sanitizer for debugging purposes:

make dmg2img CC=clang LDFLAGS=-fsanitize=address

More Repositories

1

apk-downloader

APK Downloader Chrome Extension
JavaScript
321
star
2

pacemaker

Heartbleed (CVE-2014-0160) client exploit
Python
319
star
3

ltunify

Tool for working with Logitech Unifying receivers and devices (mirror)
C
166
star
4

lglaf

LG Download Mode utility and documentation
Python
137
star
5

qt5printers

GDB Pretty printers for Qt5
Python
132
star
6

acpi-stuff

Tools for analysing ACPI DSDT/SSDT tables and notes
HTML
54
star
7

netns

Network Namespace management for Linux
Shell
48
star
8

wireguard-dissector

Wireshark dissector (written in Lua) for dissecting the WireGuard tunneling protocol.
Lua
46
star
9

luagcrypt

luagcrypt is a Lua interface to the libgcrypt library, written in C.
C
26
star
10

parse8xp

Convert between source code and TI83/TI84/TI84+/TI84s programs (in .8xp format)
Python
22
star
11

kdnet

Windows Kernel Debugger over Network (Wireshark dissector and maybe more)
Lua
20
star
12

el4000

Energy Logger 4000 utility
Python
16
star
13

clang-alloc-free-checker

Clang static analyzer plugin for checking memory issues in Wireshark/GLib applications (allocator mismatch and memleaks)
C++
14
star
14

make-gapps-zip

Documentation and tools for reproducible update.zip builds
Python
12
star
15

lua-unicode

Patched Lua library to add UTF-8 support on Windows.
CMake
12
star
16

windows-bootstrap

Scripts and tools to automate a Windows 7 installation for QEMU
PowerShell
11
star
17

hex-viewer

Hex viewer for modern browsers with bit annotation functionality
JavaScript
10
star
18

ssh-blocker

Block IP addresses based on SSH logs
C
10
star
19

wireshark-notes

Notes and captures for patching TLS in Wireshark (mirror of https://git.lekensteyn.nl/peter/wireshark-notes/)
Python
9
star
20

noscript-nsa

NSA - NoScript Anywhere (Firefox Mobile add-on)
JavaScript
8
star
21

wireshark-fuzztools

Tools to assist in fuzzing (or triaging from oss-fuzz)
Python
7
star
22

chromium-quic

Subset of chromium repo: net/quic/ net/tools/quic/ net/third_party/quic/
C++
7
star
23

aur

Personal PKGBUILDs, from AUR and official repositories
Shell
4
star
24

rsyncbackup

Simple interface for encrypted offline backups with snapshots support
Shell
3
star
25

archdir

Bootstrap a QEMU/KVM VM for building Arch Linux packages
Shell
3
star
26

dnsallow

dnsallow enables whitelisting of IP addresses based on DNS responses.
C
3
star
27

wireshark-ansible

ansible configuration for setting up a gerrit + buildbot nine cluster
Python
3
star
28

qemu-tools

Miscellaneous tools related to QEMU
Python
2
star
29

pystubgen

Generates Python source code from a module for documentation purposes
Python
2
star
30

wgll

Low-level prototyping tool for WireGuard
Python
2
star
31

ls-l.info

Test domain
HTML
1
star
32

iot19-leshan

Practical assignment for the TU/e 2017 course on IoT (2IMN15) - Group 19
Java
1
star