Skip to content

Commit

Permalink
Use Burp default installation path /usr/local/BurpSuitePro instead of…
Browse files Browse the repository at this point in the history
… /opt/BurpSuitePro
  • Loading branch information
Jarmo Puttonen committed Jan 5, 2021
1 parent f153201 commit a994609
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Please see [this blog post](https://teamrot.fi/2019/05/23/self-hosted-burp-colla
## TL;DR:

1. Clone this repository.
2. Install Burp to /opt/BurpSuitePro.
2. Install Burp to /usr/local/BurpSuitePro.
3. Run `sudo ./install.sh yourdomain.fi`.
4. You should now have Let's encrypt certificate for the domain and a private burp collaborator properly set up.
5. Start the collaborator with `sudo service burpcollaborator start`.
Expand Down
14 changes: 7 additions & 7 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ if [[ $(id -u) -ne 0 ]]; then
fi

if [ "$#" -lt 2 ]; then
echo "Usage: $0 yourdomain.com [email protected] [burp-installation-path.sh]"
echo "Usage: $0 yourdomain.com [email protected] [burp-installer-script.sh]"
exit 1
fi

DOMAIN=$1
EMAIL=$2
BURP_INSTALLATOR="$3"

if [ ! -f /opt/BurpSuitePro/BurpSuitePro ]; then
if [ ! -f /usr/local/BurpSuitePro/BurpSuitePro ]; then
if [ -z "$BURP_INSTALLATOR" ]; then
echo "Install Burp to /opt/BurpSuitePro and run script again or provide a path to burp installator"
echo "Usage: $0 $DOMAIN [email protected] burp-installation-path.sh"
echo "Install Burp to /usr/local/BurpSuitePro and run script again or provide a path to burp installer script"
echo "Usage: $0 $DOMAIN [email protected] [burp-installation-path.sh]"
exit
elif [ ! -f "$BURP_INSTALLATOR" ]; then
echo "Burp installator ($BURP_INSTALLATOR) does not exist"
echo "Burp installer script ($BURP_INSTALLATOR) does not exist"
exit
fi
bash "$BURP_INSTALLATOR" -q
if [ ! -f /opt/BurpSuitePro/BurpSuitePro ]; then
echo "Burp Suite Pro was not installed correctly. Please install it manually and run the script again"
if [ ! -f /usr/local/BurpSuitePro/BurpSuitePro ]; then
echo "Burp Suite Pro was not installed correctly. Please install it manually to /usr/local/BurpSuitePro and run the installer script again"
exit
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion startcollab.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

/opt/BurpSuitePro/BurpSuitePro -Xmx200m --collaborator-server --collaborator-config=/usr/local/collaborator/collaborator.config
/usr/local/BurpSuitePro/BurpSuitePro -Xmx200m --collaborator-server --collaborator-config=/usr/local/collaborator/collaborator.config

0 comments on commit a994609

Please sign in to comment.