Skip to content

Server side of the Autopsy application utilising the Sleuth Kit (TSK) library.

Notifications You must be signed in to change notification settings

mohammadsuhail98/Autopsy-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autopsy Backend System

Server side of the Autopsy application utilizing the Sleuth Kit (TSK) library.

Prerequisites

Setup Instructions

To run the backend system on your local machine, follow these steps:

  1. Clone the Repository

  2. Install Required JAR Files
    Two .jar files are provided in the project in the setup folder. These must be installed into the project directory using the following commands:

    • sleuthkit-4.12.1.jar

      Windows:

      mvn install:install-file ^
      -Dfile="{PROJECT_DIR_PATH}/setup/sleuthkit-4.12.1.jar" ^
      -DgroupId="org.sleuthkit" ^
      -DartifactId=sleuthkit ^
      -Dversion="4.12.1" ^
      -Dpackaging=jar ^
      -DgeneratePom=true

      MacOS/Linux:

      mvn install:install-file \
      -Dfile={PROJECT_DIR_PATH}/setup/sleuthkit-4.12.1.jar \
      -DgroupId=org.sleuthkit \
      -DartifactId=sleuthkit \
      -Dversion=4.12.1 \
      -Dpackaging=jar \
      -DgeneratePom=true
    • org-sleuthkit-autopsy-core.jar

      Windows:

      mvn install:install-file ^
      -Dfile="{PROJECT_DIR_PATH}/setup/org-sleuthkit-autopsy-core.jar" ^
      -DgroupId="org.sleuthkit" ^
      -DartifactId=autopsy-core ^
      -Dversion="4.21.0" ^
      -Dpackaging=jar ^
      -DgeneratePom=true

      MacOS/Linux:

      mvn install:install-file \
      -Dfile={PROJECT_DIR_PATH}/setup/org-sleuthkit-autopsy-core.jar \
      -DgroupId=org.sleuthkit \
      -DartifactId=autopsy-core \
      -Dversion=4.21.0 \
      -Dpackaging=jar \
      -DgeneratePom=true
  3. Install Dependencies
    Run the following command to make sure everything is installed:

    mvn install -Dmaven.test.skip=true
    
  4. Install Lombok Plugin

  5. Set VM Options
    Add the following VM options to the run configuration:

    --add-opens
    java.base/java.lang.ref=ALL-UNNAMED
    -Dnetbeans.user={PROJECT_DIR_PATH}/netbeans_userdir
    
    
  6. Configure PostgreSQL
    Ensure PostgreSQL is installed, and update the connection details in the application.properties file:

    spring.datasource.url=jdbc:postgresql:{db_connection_string}
    spring.datasource.username=your_username
    spring.datasource.password=your_password
    
    
  7. Configure Case Directory
    In the application.properties file, update the path for storing cases:

    case.baseDir={Default_dir_path_to_store_the_cases}
    
  8. Run the Project
    Once the above steps are complete, run the project.

Additional Resources

In the test_api folder, you will find a Postman Collection containing the APIs used by the backend system. To use the collection, simply import it into Postman.

About

Server side of the Autopsy application utilising the Sleuth Kit (TSK) library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages