Skip to content

Commit

Permalink
Fix bug with the cron cert renewal script
Browse files Browse the repository at this point in the history
  • Loading branch information
putsi committed Feb 15, 2022
1 parent 776f04e commit bb836e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ if [ ! -f /usr/local/BurpSuitePro/BurpSuitePro ]; then
fi
fi

# Make sure that permissions are ok for all scripts.
chmod +x *.sh


SRC_PATH="`dirname \"$0\"`"

# Get public IP in case not running on AWS, Azure or Digitalocean.
Expand Down Expand Up @@ -81,7 +85,7 @@ sed -i "s/EXT_IP/$MYPUBLICIP/g" /usr/local/collaborator/collaborator.config
sed -i "s/BDOMAIN/$DOMAIN/g" /usr/local/collaborator/collaborator.config
cp "$SRC_PATH/burpcollaborator.service" /etc/systemd/system/
cp "$SRC_PATH/startcollab.sh" /usr/local/collaborator/
cp "$SRC_PATH/renewcert.sh" /etc/cron.daily/
cp "$SRC_PATH/renewcert.sh" /etc/cron.daily/renewcert

cd /usr/local/collaborator/
chmod +x /usr/local/collaborator/*
Expand Down

0 comments on commit bb836e8

Please sign in to comment.