Skip to content

Commit

Permalink
Merge pull request #423 from compass-dexter/fix-volatility3-pipx
Browse files Browse the repository at this point in the history
fix(forensic): install volatility with pipx
  • Loading branch information
ShutdownRepo authored Dec 13, 2024
2 parents 5519660 + eb761e0 commit 4aefda5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion sources/assets/shells/aliases.d/volatility3
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
alias vol='/opt/tools/volatility3/venv/bin/python3 /opt/tools/volatility3/venv/bin/vol'
alias volatility3='vol'
alias vol3='volatility3'
9 changes: 1 addition & 8 deletions sources/install/package_forensic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,7 @@ function install_volatility2() {

function install_volatility3() {
colorecho "Installing volatility3"
git -C /opt/tools/ clone --depth 1 https://github.com/volatilityfoundation/volatility3
cd /opt/tools/volatility3 || exit
python3 -m venv --system-site-packages ./venv
source ./venv/bin/activate
pip3 install .
# volatility's setup.py installs requirements from requirements-minimal.txt. Some reqs from requirements.txt are missing, injecting now
pip3 install -r requirements.txt
deactivate
pipx install --system-site-packages git+https://github.com/volatilityfoundation/volatility3
add-aliases volatility3
add-history volatility3
add-test-command "volatility3 --help"
Expand Down

0 comments on commit 4aefda5

Please sign in to comment.