forked from putsi/privatecollaborator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Burp default installation path /usr/local/BurpSuitePro instead of…
… /opt/BurpSuitePro
- Loading branch information
Jarmo Puttonen
committed
Jan 5, 2021
1 parent
f153201
commit a994609
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |