From 78628b03d12362e21bf533b4530ffbc6dfa53162 Mon Sep 17 00:00:00 2001 From: PortSwigger Support Date: Thu, 8 Oct 2020 10:06:10 +0000 Subject: [PATCH 1/3] BApp preparation --- BappDescription.html | 7 +++++++ BappManifest.bmf | 12 ++++++++++++ build.gradle | 5 ++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 BappDescription.html create mode 100644 BappManifest.bmf diff --git a/BappDescription.html b/BappDescription.html new file mode 100644 index 0000000..718ba27 --- /dev/null +++ b/BappDescription.html @@ -0,0 +1,7 @@ +

The plugin can custom regular expression to match HTTP response messages. You can decide for yourself whether the corresponding request that meets the custom regular expression match needs to be highlighted and information extracted.

+ +

Note:The use of HaE requires a basic regular expression foundation for testers. Since the Java regular expression library is not as elegant or convenient as Python, when using regular expressions, HaE requires users to use () to extract what they need The expression content contains; for example, if you want to match a response message of a Shiro application, the normal matching rule is rememberMe=delete, if you want to extract this content, you need to become (rememberMe=delete).

+ +

Instructions:

+

Load: Extender - Extensions - Add - Select File - Next

+

The configuration file is initialized when HaE is loaded for the first time. The default configuration file has a built-in regular expression: Email. The initialized configuration file will be placed in the same directory as the BurpSuite Jar package.

diff --git a/BappManifest.bmf b/BappManifest.bmf new file mode 100644 index 0000000..c81527d --- /dev/null +++ b/BappManifest.bmf @@ -0,0 +1,12 @@ +Uuid: a7609ae2055342e9b6ffcf7cbcacf019 +ExtensionType: 1 +Name: Highlighter And Extractor +RepoName: highlighter-and-extractor +ScreenVersion: 1.1 +SerialVersion: 1 +MinPlatformVersion: 0 +ProOnly: False +Author: gh0stkey +ShortDescription: Highlighter and Extractor (HaE) is used to highlight HTTP requests and extract information from HTTP response messages. +EntryPoint: build/libs/HaE-all.jar +BuildCommand: gradle fatJar diff --git a/build.gradle b/build.gradle index 099d4d1..8da9ae4 100644 --- a/build.gradle +++ b/build.gradle @@ -17,8 +17,11 @@ sourceSets { } } +targetCompatibility = '1.8' +sourceCompatibility = '1.8' + task fatJar(type: Jar) { baseName = project.name + '-all' from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } with jar -} \ No newline at end of file +} From df0f4bd41be3c2aed94a2fe6141b924fb342eaa7 Mon Sep 17 00:00:00 2001 From: PortSwigger Support Date: Thu, 12 Nov 2020 14:22:18 +0000 Subject: [PATCH 2/3] BApp update --- .gitignore | 2 ++ BappManifest.bmf | 4 ++-- build.gradle | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67bcc2f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.gradle/ +build/ diff --git a/BappManifest.bmf b/BappManifest.bmf index c81527d..c60f101 100644 --- a/BappManifest.bmf +++ b/BappManifest.bmf @@ -2,8 +2,8 @@ Uuid: a7609ae2055342e9b6ffcf7cbcacf019 ExtensionType: 1 Name: Highlighter And Extractor RepoName: highlighter-and-extractor -ScreenVersion: 1.1 -SerialVersion: 1 +ScreenVersion: 1.4.1 +SerialVersion: 3 MinPlatformVersion: 0 ProOnly: False Author: gh0stkey diff --git a/build.gradle b/build.gradle index 8da9ae4..14f7290 100644 --- a/build.gradle +++ b/build.gradle @@ -20,6 +20,10 @@ sourceSets { targetCompatibility = '1.8' sourceCompatibility = '1.8' +compileJava { + options.encoding = "UTF-8" +} + task fatJar(type: Jar) { baseName = project.name + '-all' from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } From 91009337c1fdfc4b0d4327d3c6bfc38c40e634d0 Mon Sep 17 00:00:00 2001 From: PortSwigger Support Date: Fri, 27 Nov 2020 10:24:49 +0000 Subject: [PATCH 3/3] BApp update v1.5 --- BappDescription.html | 2 +- BappManifest.bmf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BappDescription.html b/BappDescription.html index 718ba27..7f912cd 100644 --- a/BappDescription.html +++ b/BappDescription.html @@ -1,6 +1,6 @@

The plugin can custom regular expression to match HTTP response messages. You can decide for yourself whether the corresponding request that meets the custom regular expression match needs to be highlighted and information extracted.

-

Note:The use of HaE requires a basic regular expression foundation for testers. Since the Java regular expression library is not as elegant or convenient as Python, when using regular expressions, HaE requires users to use () to extract what they need The expression content contains; for example, if you want to match a response message of a Shiro application, the normal matching rule is rememberMe=delete, if you want to extract this content, you need to become (rememberMe=delete).

+

Note: The use of HaE requires a basic regular expression foundation for testers. Since the Java regular expression library is not as elegant or convenient as Python, when using regular expressions, HaE requires users to use () to extract what they need The expression content contains; for example, if you want to match a response message of a Shiro application, the normal matching rule is rememberMe=delete, if you want to extract this content, you need to become (rememberMe=delete).

Instructions:

Load: Extender - Extensions - Add - Select File - Next

diff --git a/BappManifest.bmf b/BappManifest.bmf index c60f101..bf49973 100644 --- a/BappManifest.bmf +++ b/BappManifest.bmf @@ -2,8 +2,8 @@ Uuid: a7609ae2055342e9b6ffcf7cbcacf019 ExtensionType: 1 Name: Highlighter And Extractor RepoName: highlighter-and-extractor -ScreenVersion: 1.4.1 -SerialVersion: 3 +ScreenVersion: 1.5 +SerialVersion: 4 MinPlatformVersion: 0 ProOnly: False Author: gh0stkey