Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 2 KB

README.md

File metadata and controls

39 lines (25 loc) · 2 KB

VDI Explorer : Break Out Of The BOX

License

Traversal and manipulation of an EXT2 Filesystem contained in VirtualBox .VDI File, without mounting in a virtual machine.

Description:

Program interface is command line based. The program gives the user the ability to traverse an EXT2 filesystem contained within a VirtualBox .VDI file. The program can display all files and content inside the .VDI file. The program can also write files into and out of the filesystem contained within the .VDI file to the host machine, without corruption and without the need of mounting the .VDI file in a virtual machine.

The user uses the program essentially like a linux terminal with the following commands:

  • ls [-al] Create a listing of files and directory in current working directory, adding -l for the long list, and -al for long list with all hidden files shown as well.
  • pwd Prints working directory.
  • help {command} Prints out command, usage, and what the command does. If no command specified, prints out all possible command information.
  • cd {directory} Change directory.
  • cp [in|out] {file_to_copy_from} {file_to_copy_to} Copy a file between VDI and host.
  • exit Exit out of VDI file traversal program.

Installation:

To compile the project, type in the following commands:

chmod +x build.sh && ./build.sh && cd build

To remove all object files and executables:

make clean

Example:

To run, depending on which file you want to give in as the VDI input file:

./vdi Test-dynamic-1k.vdi

./vdi Test-fixed-4k.vdi

./vdi Test-fixed-1k.vdi

License:

Apache ver. 2.0, Copyright Jenniffer Estrada, 2016