GithubHelp home page GithubHelp logo

Comments (8)

harelsegev avatar harelsegev commented on June 9, 2024

INDXRipper doesn't support the EWF format. Use ewfmount on your image, and it will create a file INDXRipper can work with.
This video may help: https://www.youtube.com/watch?v=3S-joLMbDGo

The offset you provide should be in sectors. If 2048 is the offset in sectors, you don't need to multiply it by 512.
Let me know if that solved your problem!

from indxripper.

ezaspy avatar ezaspy commented on June 9, 2024

Thanks, but this didn't solve my problem. I have mounted the image successfully using ewfmount:

sudo ewfmount /mnt/hgfs/testing/Disk1/Disk1.E01 /mnt/ewf_mount99

And I receive a different error:

python3.9 ../tools/INDXRipper/INDXRipper.py /mnt/ewf_mount/ewf1 outfile

Traceback (most recent call last):
  File "../tools/INDXRipper/INDXRipper.py", line 12, in <module>
    from ntfs import parse_filename_attribute, get_resident_attribute, get_attribute_name, get_attribute_type
  File "../tools/INDXRipper/ntfs.py", line 7, in <module>
    from construct import (
ModuleNotFoundError: No module named 'construct'

Please note, I have previously run (I am assuming the construct module is likely causing the issue):

pip install construct==2.10.68
python3.9 -m pip install construct==2.10.68

from indxripper.

harelsegev avatar harelsegev commented on June 9, 2024

This is super weird, because the import didn't fail when you executed it against the E01 image.
Are you sure you installed construct in the same interpreter you executed the tool with?

from indxripper.

ezaspy avatar ezaspy commented on June 9, 2024

Yes, absolutley sure. I'm using Ubuntu 20.04 (no venv, just base OS) and have installed construct for both python3.8 and python3.9, respectively:
python3.8

pip install construct==2.10.68

python3.9

python3.9 -m pip install construct==2.10.68

from indxripper.

harelsegev avatar harelsegev commented on June 9, 2024

I would try opening the Python 3.9 interpreter and typing import construct, just to make sure it's really installed.
I'm not sure what the problem is, but it doesn't seem like it's in my code. I don't know how to help you.

from indxripper.

ezaspy avatar ezaspy commented on June 9, 2024

Please see attached the confirmation of installation. Are you able to replicate it at all?
Screenshot 2022-08-24 at 05 44 35

from indxripper.

harelsegev avatar harelsegev commented on June 9, 2024

I think I figured this out. You use sudo to exeucte INDXRipper.py, and that's why the interpreter cannot find the module.
Read this: https://askubuntu.com/questions/1268870/python-module-not-found-in-sudo-mode-ubuntu-20-04

Just don't use sudo, and it should work fine:

INDXRipper

If you do want to execute it as root, you can create a virtualenv:

git clone https://github.com/harelsegev/INDXRipper.git
cd INDXRipper
python3.9 -m virtualenv venv
source venv/bin/activate
pip install construct==2.10.68
sudo venv/bin/python INDXRipper.py "/mnt/ewf_mount/ewf1" ../outfile.csv

Again, not a problem in my code.

EDIT: You should probably use virtualenv. I updated the installation section in the README, check it out.

from indxripper.

ezaspy avatar ezaspy commented on June 9, 2024

Yep - you solved it. Thanks!

from indxripper.

Related Issues (10)

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.