Skip to main content

pyEWFmount

A python cli wrapper script for mounting ewf files

Installation

Install requirement ewfmount

Install libewf with pacman:

sudo pacman -S libewf

or ewf-tools with apt:

sudo apt install ewf-tools

Install requirement dislocker:

Install dislocker from GitHub:

git clone https://github.com/Aorimn/dislocker
cd dislocker
cmake .
make dislocker-fuse;
sudo make install

Install pyEWFmount

pip3 install py_ewf_mount

Usage

Type pyEWFmount --help or pyMountEWF --help to view the help.

pyEWFmount by Florian Wahl, 03.08.2020

usage: pyMountEWF [-h] [-i INPUT] [-o OUTPUT]

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        path to a EWF file which should be mounted
  -o OUTPUT, --output OUTPUT
                        Specify the name of the mounted directory (default: /mnt/YYYY.MM.DD_hh.mm)

Example

$ sudo pyMountEWF -i forensic_image.E01
pyEWFmount by Florian Wahl, 02.08.2020

[+] ewf file mounted to "/mnt/2020.08.03_18.49/.ewf"
[+] Select Partition to mount:
Disk /dev/loop6: 1011 MiB, 1060110336 bytes, 2070528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x24677b2d

Device       Boot Start     End Sectors  Size Id Type
/dev/loop6p1       2048 2070527 2068480 1010M  7 HPFS/NTFS/exFAT

select number of partition (0 for complete disk) [1] >
[+] selected partition "/dev/loop6p1"
Bitlocker Recovery Key (if encrypted otherwise empty) > 493625-443036-224400-065417-708741-624547-702218-359777
Mount in readonly mode (y/n) [y]: y
Mount as NTFS filesystem (y/n) [y]: y
[+] Partition 1 was mounted under "/mnt/2020.08.03_18.49/partition_1_decrypted"

Press ENTER to mount another partition

Release files for py-ewf-mount 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-ewf-mount 1.0.0
File Size Uploaded
py_ewf_mount-1.0.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-ewf-mount 1.0.0
File Interpreter ABI Platform
py_ewf_mount-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / py_ewf_mount-1.0.0.tar.gz

Download URL py_ewf_mount-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a6a3b13635eacf390a03aed7def0ae9cc5a84d6f8fc05ca5220ef0fcdb5ada86
BLAKE2b-256 checksum
How to use checksums
8fe01b9ac016a9831b005e4b3d92d87b5e067befcb285014dba8358681217445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release files / py_ewf_mount-1.0.0-py3-none-any.whl

Download URL py_ewf_mount-1.0.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c38293d3ad2d8453cc1ab782b56e602d50852f2f92375bc1929f5ef2d714ab14
BLAKE2b-256 checksum
How to use checksums
fdb0c4d7911a94fecba004b2949501af9b8be6ed4d201496b9feefe060f5e0f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page