Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jbj/magicrescue
Not under active development. Magic Rescue was a tool for recovering files from a corrupted file system.
https://github.com/jbj/magicrescue
Last synced: 24 days ago
JSON representation
Not under active development. Magic Rescue was a tool for recovering files from a corrupted file system.
- Host: GitHub
- URL: https://github.com/jbj/magicrescue
- Owner: jbj
- License: gpl-2.0
- Created: 2018-10-15T15:03:50.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2021-09-12T16:00:40.000Z (about 3 years ago)
- Last Synced: 2024-07-16T17:01:09.564Z (5 months ago)
- Language: C
- Size: 310 KB
- Stars: 8
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
- awesome-anti-forensic - MagicRescue
README
Magic Rescue
============Deprecation notice
------------------This software is no longer under active development. I will consider merging
pull requests, but I will not myself address any issues raised in GitHub. I
cannot guarantee that I will make new stable releases.Security notice
---------------Magic Rescue should only be run in a sandboxed environment. It was written in
2004, a time where the internet was a friendlier place. Magic Rescue works by
invoking programs written in unsafe languages with input from arbitrary data
found on your disk. This exposes a large attack surface to any attacker that is
able to place arbitrary data inside files on your disk, including your browser
cache.Overview
--------Magic Rescue scans a block device for file types it knows how to recover and
calls an external program to extract them. It looks at "magic bytes" in file
contents, so it can be used both as an undelete utility and for recovering a
corrupted drive or partition. As long as the file data is there, it will find
it.It works on any file system, but on very fragmented file systems it can only
recover the first chunk of each file. Practical experience (this program was
not written for fun) shows, however, that chunks of 30-50MB are not uncommon.Find the latest version at https://github.com/jbj/magicrescue
Building
--------There are no build requirements other than a C library and a UNIXish system.
To use the dupemap(1) utility, you must have the NDBM compatibility header,
which either comes with your system or the development libraries of GDBM or
Berkeley DB../configure && make && make install
The "make install" step is optional.
Using
-----man magicrescue