Skip to content

Commit

Permalink
Merge pull request #363 from QU35T-code/fix/sherlock
Browse files Browse the repository at this point in the history
Replace sherlock installation from sources with pipx
  • Loading branch information
qu35t-code authored Jun 9, 2024
2 parents b768e0c + 44c073e commit 53b086e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
1 change: 0 additions & 1 deletion sources/assets/shells/aliases.d/sherlock

This file was deleted.

2 changes: 2 additions & 0 deletions sources/assets/shells/history.d/sherlock
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sherlock user123
sherlock user1 user2 user3
13 changes: 4 additions & 9 deletions sources/install/package_osint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -495,16 +495,11 @@ function install_blackbird() {
}

function install_sherlock() {
# CODE-CHECK-WHITELIST=add-history
# CODE-CHECK-WHITELIST=add-aliases
colorecho "Installing Sherlock"
git -C /opt/tools/ clone --depth 1 https://github.com/sherlock-project/sherlock
cd /opt/tools/sherlock || exit
python3 -m venv --system-site-packages ./venv
source ./venv/bin/activate
pip3 install -r requirements.txt
deactivate
add-aliases sherlock
add-test-command "sherlock.py --help"
pipx install git+https://github.com/sherlock-project/sherlock
add-history sherlock
add-test-command "sherlock --help"
add-to-list "Sherlock,https://github.com/sherlock-project/sherlock,Hunt down social media accounts by username across social networks."
}

Expand Down

0 comments on commit 53b086e

Please sign in to comment.