From 78628b03d12362e21bf533b4530ffbc6dfa53162 Mon Sep 17 00:00:00 2001 From: PortSwigger Support Date: Thu, 8 Oct 2020 10:06:10 +0000 Subject: [PATCH] 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 +}