forked from integrissecurity/carbonator
-
Notifications
You must be signed in to change notification settings - Fork 2
/
launch_burp.sh
executable file
·32 lines (29 loc) · 1.15 KB
/
launch_burp.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by Blake Cornell, CTO, Integris Security LLC
# Integris Security Carbonator - Beta Version - v1.1
# Released under GPL Version 2 license.
# Use at your own risk
if [[ -n $1 && -n $2 && -n $3 ]] #not provide enough parameters to launch carbonator
then
SCHEME=$1
FQDN=$2
PORT=$3
if [[ -n $4 ]]
then
FOLDER=$4
fi
if [[ -n $5 ]]
then
EMAIL=$5
echo Launching Scan against $1://$2:$3$4 EMailing reports to $5
java -jar -Xmx1024m ../burp_suite/burpsuite_pro_v1.6.02.jar $SCHEME $FQDN $PORT $FOLDER
echo 'Your scan results are attached to this email. Please visit https://www.integrissecurity.com/index.php?resources=Carbonator for more information.' | mutt -s 'Integris Security Carbonator Results' $5 -a IntegrisSecurity_Carbonator_$1_$2_$3.html && rm IntegrisSecurity_Carbonator_$1_$2_$3.html
else
echo Launching Scan against $1://$2:$3$4
java -jar -Xmx1024m ../burp_suite/burpsuite_pro_v1.6.02.jar $SCHEME $FQDN $PORT $FOLDER
fi
else
echo Usage: $0 scheme fqdn port path email
echo ' 'Example: $0 http localhost 80 /folder carbonator@integrissecurity.com
echo ' Scan multiple sites: cat scheme_fqdn_port.txt | xargs -L1 '$0
fi
exit