Skip to content

Commit bfae614

Browse files
authoredMar 20, 2024··
Merge pull request #45 from crytic/0xalpharush-patch-1
use latest versions
2 parents cbba8d8 + aed135e commit bfae614

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed
 

‎packer/provision.sh

+10-11
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ hostname -F /etc/hostname
1313
echo "Installing prereqs..."
1414
export DEBIAN_FRONTEND=noninteractive
1515
apt-get update
16-
apt-get install -y jq s3cmd tmux python3-pip python3-venv unzip
16+
apt-get install -y jq s3cmd tmux python3-pip python3-venv
1717

1818
echo "Downloading doctl..."
1919
curl -fsSL -o /tmp/doctl-1.92.0-linux-amd64.tar.gz https://github.com/digitalocean/doctl/releases/download/v1.92.0/doctl-1.92.0-linux-amd64.tar.gz
@@ -31,25 +31,24 @@ echo "Installing solc and slither..."
3131
python3 -m venv ~/venv
3232
source ~/venv/bin/activate
3333
pip3 install solc-select slither-analyzer crytic-compile
34-
solc-select install 0.8.6
35-
solc-select use 0.8.6
34+
solc-select use latest --always-install
3635

3736
echo "Downloading echidna..."
38-
curl -fsSL -o /tmp/echidna.zip https://github.com/crytic/echidna/releases/download/v2.2.1/echidna-2.2.1-Linux.zip
37+
curl -fsSL https://github.com/crytic/echidna/releases/download/v2.2.3/echidna-2.2.3-x86_64-linux.tar.gz -o /tmp/echidna.tar.gz
3938
echo "Extracting echidna..."
40-
unzip /tmp/echidna.zip -d /tmp
4139
tar -xzf /tmp/echidna.tar.gz -C /tmp
4240
echo "Installing echidna..."
4341
mv /tmp/echidna /usr/local/bin
4442
rm /tmp/echidna.tar.gz
4543

4644
echo "Downloading medusa..."
47-
sudo apt-get update
48-
sudo apt-get install -y unzip
49-
curl -fsSL https://github.com/crytic/medusa/releases/download/v0.1.0/medusa-linux-x64.zip -o medusa.zip
50-
unzip medusa.zip
51-
chmod +x medusa
52-
sudo mv medusa /usr/local/bin
45+
curl -fsSL https://github.com/crytic/medusa/releases/download/v0.1.3/medusa-linux-x64.tar.gz -o /tmp/medusa.tar.gz
46+
echo "Extracting medusa..."
47+
tar -xzf /tmp/medusa.tar.gz -C /tmp
48+
echo "Installing medusa..."
49+
chmod +x /tmp/medusa
50+
sudo mv /tmp/medusa /usr/local/bin
51+
rm /tmp/medusa.tar.gz
5352

5453
echo "Installing docker and its dependencies..."
5554
apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common

0 commit comments

Comments
 (0)
Please sign in to comment.