Skip to content

Commit b40c1f4

Browse files
updated readme and default header name
1 parent c7f47bf commit b40c1f4

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Custom Header With Random Value
66
---
77
Compatible with Burp Suite Enterprise Edition
88

9-
Please note that extensions are written by third party users of Burp, and PortSwigger makes no warranty about their quality or usefulness for any particular purpose.
9+
Please note that extensions are written by third-party users of Burp, and PortSwigger makes no warranty about their quality or usefulness for any particular purpose.
1010

1111
---
1212
## Usage
13-
1. Customise the header name using the HEADER_NAME variable if required. The default name is "UUID".
13+
1. Customise the header name using the `HEADER_NAME` variable if required. The default name is `Uuid`.
1414
2. Build the extension
1515
3. [Add the extension to the Burp Suite Enterprise Edition extension library](https://portswigger.net/burp/documentation/enterprise/user-guide/extensions), and add the extension to your required Site.
1616
4. [Configure your session handling rule](#configuring-your-session-handling-rule-in-burp-suite-professionalcommunity) in Burp Suite Professional to invoke the extension, using the required extension action handler and scope. An example session handling rule for the "Custom Header Action - Random UUID Value" action has been included for reference.
@@ -65,14 +65,12 @@ Please note that extensions are written by third party users of Burp, and PortSw
6565
```
6666

6767
## Troubleshooting
68-
We recommend testing this extension in Burp Suite Professional/Community Edition before using in Burp Suite Enterprise Edition.
69-
70-
To test this extension in Burp Suite Enterprise Edition, you can configure an upstream proxy through Burp Suite Professional to view the requests and ensure that your token has been added appropriately.
68+
We recommend testing this extension in Burp Suite Professional/Community Edition before Burp Suite Enterprise Edition for easier troubleshooting. To test this extension in Burp Suite Enterprise Edition, you can configure an upstream proxy through Burp Suite Professional to view the requests and ensure that your header has been added appropriately.
7169

7270

7371
## Using Gradle
7472
- If you do not have Gradle already installed, follow the installation instructions [here](https://gradle.org/install/).
75-
- Once Gradle is installed, run `gradle fatJar` from the installation directory using the command line.
73+
- Once Gradle is installed and you are ready to build the extension, run `./gradlew build` from the extension directory using the command line
7674
- Make sure you are using the latest version of Gradle.
7775

7876
If no changes to the code are required, a prebuilt JAR file is available under Releases. It is preferable to compile your own JAR file.

src/main/java/CustomHeaderWithRandomValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
public class CustomHeaderWithRandomValue implements BurpExtension {
1515

16-
public static final String EXTENSION_NAME = "Custom Header With Random Value";
17-
private static final String HEADER_NAME = "UUID"; // You can change this to customise the header name
16+
private static final String EXTENSION_NAME = "Custom Header With Random Value";
17+
private static final String HEADER_NAME = "Uuid"; // You can change this to customise the header name
1818

1919
@Override
2020
public void initialize(MontoyaApi api) {

0 commit comments

Comments
 (0)