Updates to benchmark scripts, added install for gitleaks
This commit is contained in:
Родитель
87473ecfcd
Коммит
e491914e0a
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
source ./install-test-tools.sh
|
||||
python benchmark.py
|
|
@ -1,7 +1,14 @@
|
|||
#!/bin/bash
|
||||
if if ! type "pip" > /dev/null; then
|
||||
if ! type "pip" > /dev/null
|
||||
then
|
||||
echo "Pip and Python are required for installing detect-secrets and truffleHog, but pip was not found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p ~/.local/bin
|
||||
if [ ! -f ~/.local/bin/gitleaks ]; then
|
||||
wget https://github.com/zricethezav/gitleaks/releases/download/v2.1.0/gitleaks-linux-amd64 -O ~/.local/bin/gitleaks
|
||||
chmod +x ~/.local/bin/gitleaks
|
||||
fi
|
||||
|
||||
pip install detect-secrets truffleHog
|
Загрузка…
Ссылка в новой задаче