GithubHelp home page GithubHelp logo

Comments (4)

Lazza avatar Lazza commented on August 23, 2024 1

From the output you posted, it seems you have various traces of files which get divided into over 127000 (127 thousand!) partitions. This can result from an extremely fragmented MFT (that maybe has sustained defragmentation many times in the past).

See this file where they are ordered by length -> count (accumulator):

many_partitions.txt

Long story short, the program is not looping, it's just running. 😅 You might want to put a limit to ignore partitions with few files. For instance, you can ignore those with less than 5001 files.

Start with a fresh, unmodified copy of RecuperaBit and add this before line 823 of ntfs.py:

partitioned_files = {
    index: partitioned_files[index]
    for index in partitioned_files
    if len(partitioned_files[index].files) > 5000
}

This way you will only analyze about 50 partitions. I am going to close this issue, however you might consider suggesting one or both of these:

  • option to disable the search of partition boundaries for those that are not immediately detectable from boot sectors
  • option to prune partitions with few files, or to limit the search to the top N partitions

These could be nice enhancements in the future.

from recuperabit.

Lazza avatar Lazza commented on August 23, 2024

Please, before line 823 of ntfs.py:

for address in partitioned_files:

Add the following lines:

print partitioned_files
print list(partitioned_files)
exit(1)

With the same indentation. This will stop the program just after the scan, printing useful debug information.

from recuperabit.

gabrielboliveira avatar gabrielboliveira commented on August 23, 2024

This is the output with those lines: recuperabit.txt

from recuperabit.

gabrielboliveira avatar gabrielboliveira commented on August 23, 2024

Great! Thanks for the suggestion. I'll try what you suggested.

from recuperabit.

Related Issues (20)

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.