forked from NetSPI/xssValidator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildXssValidatorJar.sh
32 lines (30 loc) · 1.27 KB
/
buildXssValidatorJar.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
#!/bin/bash
# -----------------------------------------------------------------------------
# buildXssValidatorJar.sh
#
# Install xssValidator
#
# Usage: bash buildXssValidatorJar.sh
#
# Jayson Grace, jayson.e.grace@gmail.com, 9/5/2016
#
# Last update 9/5/2016 by Jayson Grace, jayson.e.grace@gmail.com
# -----------------------------------------------------------------------------
apt-get update
apt-get install -y ant phantomjs
cd /opt
git clone https://github.com/l50/xssValidator.git
cd xssValidator
mkdir ./burp-extender/lib
cd burp-extender/lib
# Download libs
wget http://central.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
wget http://central.maven.org/maven2/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
wget http://central.maven.org/maven2/org/apache/httpcomponents/fluent-hc/4.3.6/fluent-hc-4.3.6.jar
wget http://central.maven.org/maven2/org/apache/httpcomponents/httpclient/4.3.6/httpclient-4.3.6.jar
wget http://central.maven.org/maven2/org/apache/httpcomponents/httpclient-cache/4.3.6/httpclient-cache-4.3.6.jar
wget http://central.maven.org/maven2/org/apache/httpcomponents/httpcore/4.3.3/httpcore-4.3.3.jar
wget http://central.maven.org/maven2/org/apache/httpcomponents/httpmime/4.3.6/httpmime-4.3.6.jar
cd ../bin/burp
# Build the jar
ant