Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 62 additions & 20 deletions README → README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
********************************************************************
# README

As of 6/27/2013 Scalpel has been released under the Apache 2.0 License
and the source is available at The Sleuth Kit github repository.
Expand All @@ -10,7 +10,23 @@ into several memory leaks and the effort was abandoned.
No official releases are being made. You can submit pull requests,
but they may take a while to get reviewed.

********************************************************************
## Fork update

Since the main repo is not being maintained and there are a couple of pull
requests, I decided to fork the main repo and start to include some of the
pull requests in here. If anyone wants to add pull requests, I'll be ready
to review, test and merge them.

I'll be updating the repo as well as I keep finding fixes.

I haven't found a straight foward way to compile the program in Linux as of
Feb/4/2025. I have to read the code and keep adding the exact way to do it
to the README. Any help is welcome.

Of course, I've this is not my initial work, thus I've included the Apache 2
license as stated by sleuthkit main repo.

## Information

Scalpel is a file carving and indexing application that runs on Linux
and Windows. The first version of Scalpel, released in 2005, was
Expand Down Expand Up @@ -73,27 +89,59 @@ that our compilation environment for Windows is currently 32-bit; we
haven't tested on the 64-bit version of mingw, but will address this
int the future.

COMPILE INSTRUCTIONS ON SUPPORTED PLATFORMS:
## Requirements for Linux

- libtool
- automake
- autoconf
- make
- tre-agrep
- libtre5
- libtre-dev

### Install dependencies

> I added gcc and g++ just in case

```bash
sudo apt install automake autoconf libtool make tre-agrep libtre5 libtre-dev gcc g++ -y
```

Linux/Mac OS X:
% ./bootstrap
% ./configure
% make
## Compiling

Windows (mingw):
```bash
# Linux/Mac OS X:
./bootstrap
./configure
make
```

```bash
# Windows (mingw):
cd src
mingw32-make -f Makefile.win
```

## Installing

and enjoy. If you want to install the binary and man page in a more
If you want to install the binary and man page in a more
permanent place, just copy "scalpel" (or "scalpel.exe") and
"scalpel.1" to appropriate locations, e.g., on Linux, "/usr/local/bin"
and "/usr/local/man/man1", respectively. On Windows, you'll also need
to copy the pthreads and tre regular expression library dlls into the
same directory as "scalpel.exe".

## Running

To run Scalpel, the file `scalpel.conf` must be specified in the current
working directory.

```bash
# Folder has to exists
scalpel -c scalpel.conf -o outDirName img-file
```

OTHER SUPPORTED PLATFORMS
## OTHER SUPPORTED PLATFORMS

We are not currently supporting Scalpel on Unix variants other than
Linux. Go ahead and try a ./configure and make and see what happens,
Expand All @@ -104,10 +152,10 @@ supporting a GPU-enhanced version of Scalpel on Windows, we are also
interesting in hearing from you.


LIMITATIONS:
## LIMITATIONS

Carving Windows physical and logical device files (e.g.,
\\.\physicaldrive0 or \\.\c:) isn't currently supported because it
Carving Windows physical and logical device files `(e.g.,
\\.\physicaldrive0 or \\.\c:)` isn't currently supported because it
requires us to rewrite some portions of Scalpel to use Windows file
I/O functions rather than standard Unix calls. This may be supported
in a future release.
Expand All @@ -119,7 +167,7 @@ The -s command line option ("skip") has been removed and will be
replaced with a more robust facility in the next major release.


DEPENDENCIES:
## DEPENDENCIES

Scalpel uses the POSIX threads library. On Win32, Scalpel is
distributed with the Pthreads-win32 - POSIX Threads Library for Win32,
Expand All @@ -133,9 +181,3 @@ Cheers,

--Golden and Vico.







4 changes: 2 additions & 2 deletions scalpel.conf
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@
# wma y 8000000 \x30\x26\xB2\x75 \x52\x9A\x12\x46
#
# MP3
# mp3 y 8000000 \xFF\xFB??\x44\x00\x00
# mp3 y 8000000 \x57\x41\x56\45 \x00\x00\xFF\
# mp3 y 8000000 \xFF\xFB?\x44\x00\x00
# mp3 y 8000000 \x57\x41\x56\x45 \x00\x00\xFF\
# mp3 y 8000000 \xFF\xFB\xD0\ \xD1\x35\x51\xCC\
# mp3 y 8000000 \x49\x44\x33\
# mp3 y 8000000 \x4C\x41\x4D\x45\
Expand Down