Skip to content
This repository was archived by the owner on May 17, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.bat text eol=crlf
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.DS_Store
burp-extender/build/
burp-extender/.gradle/
burp-extender/bin/
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ Build the jar using Apache ant:

After this has completed you should see a BUILD SUCCESSFUL message. The .jar file is located in burp-extender/bin/burp/xssValidator.jar. Import this into Burp.

Alternatively use gradle:

$ cd burp-extender
$ gradle build

Which will generate build/libs/xssValidator.jar

Usage
-----

Expand Down
31 changes: 31 additions & 0 deletions burp-extender/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Apply the java plugin to add support for Java
apply plugin: 'java'
apply plugin: 'eclipse'

repositories {
jcenter()
}

sourceSets {
main {
java {
srcDirs = ['src']
}
}
}

dependencies {
compile 'commons-codec:commons-codec:1.6'
compile 'commons-logging:commons-logging:1.1.3'
compile 'org.apache.httpcomponents:fluent-hc:4.3.6'
compile 'org.apache.httpcomponents:httpclient:4.3.6'
compile 'org.apache.httpcomponents:httpclient-cache:4.3.6'
compile 'org.apache.httpcomponents:httpcore:4.3.3'
compile 'org.apache.httpcomponents:httpmime:4.3.6'
}

jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
6 changes: 6 additions & 0 deletions burp-extender/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Fri Jul 15 12:08:12 PDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip
164 changes: 164 additions & 0 deletions burp-extender/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 90 additions & 0 deletions burp-extender/gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions burp-extender/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
// To declare projects as part of a multi-project build use the 'include' method
include 'shared'
include 'api'
include 'services:webservice'
*/

rootProject.name = 'xssValidator'