Code has errors & No automations using Volatility

hi
i have a small project to do in shell script
the instruction are:
Create a script that analyzes HDD and memory files.

functions:

  1. Getting the user input
    The user enters mem or hdd, and for the second argument, the filename to
    analyze

  2. Function for each filetype
    The script runs operations depending on the type of file (HDD/mem).
    Available tools: binwalk, foremost, strings, bulk_extractor, volatility

  3. Save results into a file
    The file analysis should be saved in the created directory; once finished the file
    operation, display the user with the analysis statistics

the script is approximately 70 lines

i already Wrote a script
i sent it to my teacher and he told that i have 2 problems

  1. Your code has errors.
  2. No automations using Volatility.

please if somone can help write a new script or fix mine I will be grateful

link to my project:
(fileanalyzer/forenproject.sh at main · MJ8523/fileanalyzer · GitHub)

i tried to run this but there is an error when i write “mem” in function START
that should call to the MEM function instead it print an error line 24: MEM: command not found

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.