Skip to content

Commit

Permalink
Updated some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Strei committed Aug 28, 2020
1 parent 88cbbef commit 1c92d84
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 40 deletions.
67 changes: 33 additions & 34 deletions .idea/workspace.xml

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

Binary file modified out/artifacts/Burp_Extractor_jar/Burp_Extractor.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions src/burp/ExtractorEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private void addTextFields(JPanel pane) {
this.pane.add(targetPanel, constraints);

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

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

// Escape all startRegex chars
// Escape all regex chars
regex = regex.replaceAll("([!$^&*()-+{\\[}\\]|\\\\:,.?])", "\\\\$1")
.replace("\n", "\\n")
.replace("\r", "\\r");
Expand Down
9 changes: 6 additions & 3 deletions src/burp/ExtractorTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,10 @@ private JPanel getHelpContents() {
helpScrollPanel.add(highlightTitle);
JLabel highlightInstructions = new JLabel("<html><body style='width: 250px'><p>Highlight the text in the " +
"request you would like to replace with data from the response. In the response, highlight the text " +
"you would like to extract and have inserted into the request. This will set the necessary regex to " +
"be used for selecting text. This regex can be edited manually if necessary.</p></body></html>");
"you would like to extract and have inserted into the request. Extractor will " +
"define regex for you when you select text in the request and response editors. If you want to " +
"make customizations to those regex strings, you can! Just make sure that you escape characters that " +
"are have special regex meaning. That seems to be anything in this list, though there may be something missing: !$^&*()-+{[}]|\\:,.?</p></body></html>");
helpScrollPanel.add(highlightInstructions);

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

// Running Extractor
JLabel runningTitle = new JLabel("Running Extractor");
Expand Down

0 comments on commit 1c92d84

Please sign in to comment.