Skip to content

Commit 1c92d84

Browse files
author
Will Strei
committed
Updated some docs
1 parent 88cbbef commit 1c92d84

File tree

4 files changed

+42
-40
lines changed

4 files changed

+42
-40
lines changed

.idea/workspace.xml

Lines changed: 33 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
192 Bytes
Binary file not shown.

src/burp/ExtractorEditor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ private void addTextFields(JPanel pane) {
206206
this.pane.add(targetPanel, constraints);
207207

208208
// Add label for startRegex
209-
JLabel regexLabel = new JLabel("Regex Start: ");
209+
JLabel regexLabel = new JLabel("Before Regex: ");
210210
constraints.gridx = 0;
211211
constraints.gridwidth = 1;
212212
constraints.gridy = 2;
@@ -223,7 +223,7 @@ private void addTextFields(JPanel pane) {
223223
this.pane.add(this.startRegex, constraints);
224224

225225
// Add label for endRegex
226-
JLabel endRegexLabel = new JLabel("Regex End: ");
226+
JLabel endRegexLabel = new JLabel("After Regex: ");
227227
constraints.gridx = 2;
228228
constraints.gridwidth = 1;
229229
constraints.gridy = 2;
@@ -314,7 +314,7 @@ private String getTestRegexMatch() {
314314
// I hope that all necessary characters are escaped here, but I'm no regex pro so this could be faulty
315315
private String escapeRegex(String regex) {
316316

317-
// Escape all startRegex chars
317+
// Escape all regex chars
318318
regex = regex.replaceAll("([!$^&*()-+{\\[}\\]|\\\\:,.?])", "\\\\$1")
319319
.replace("\n", "\\n")
320320
.replace("\r", "\\r");

src/burp/ExtractorTab.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,10 @@ private JPanel getHelpContents() {
236236
helpScrollPanel.add(highlightTitle);
237237
JLabel highlightInstructions = new JLabel("<html><body style='width: 250px'><p>Highlight the text in the " +
238238
"request you would like to replace with data from the response. In the response, highlight the text " +
239-
"you would like to extract and have inserted into the request. This will set the necessary regex to " +
240-
"be used for selecting text. This regex can be edited manually if necessary.</p></body></html>");
239+
"you would like to extract and have inserted into the request. Extractor will " +
240+
"define regex for you when you select text in the request and response editors. If you want to " +
241+
"make customizations to those regex strings, you can! Just make sure that you escape characters that " +
242+
"are have special regex meaning. That seems to be anything in this list, though there may be something missing: !$^&*()-+{[}]|\\:,.?</p></body></html>");
241243
helpScrollPanel.add(highlightInstructions);
242244

243245
// Add scope instructions
@@ -249,7 +251,8 @@ private JPanel getHelpContents() {
249251
"scope in Extractor. Either a user can select \"Use suite scope\" which will cause Extractor to " +
250252
"examine a request if it is in Burp Suite's scope. Otherwise, the \"Target host\" field will be " +
251253
"examined, and a message from a matching (non-regex) host will cause Extractor to examine it." +
252-
"</p></body></html>"));
254+
"</p></br><p>You can also select the tools that will be included when looking for text in requests " +
255+
"and responses using the \"Select in-scope tools\" button.</p></body></html>"));
253256

254257
// Running Extractor
255258
JLabel runningTitle = new JLabel("Running Extractor");

0 commit comments

Comments
 (0)