Skip to content

Commit f6f9b15

Browse files
author
root
committed
Version 3.6
1 parent 8427d92 commit f6f9b15

File tree

9 files changed

+29
-21
lines changed

9 files changed

+29
-21
lines changed

BappDescription.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@
1414

1515

1616
<p>* If you need more power, I invite you to try the new <b>Burp Bounty Pro</b>, which gives you more power and automation during your manual pentests.</p>
17-

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
## Changelog
2+
**3.6.0 20201005**
3+
* Fixed bug with Match And Replace
4+
* Fixed bug with content-type detection
5+
* Fixed regex bug that contains commas
6+
27
**3.5.0 20201001**
38
* Fixed bug with Payload and Payload without encode match type
49
* Changed the default directory from user.dir to user.home
510
* Added <payload> and <grep> variables for printing issue details in Advisory.
611
* Fixed regex grep case sensitive
712
* Better redirection performance
8-
* Fixed bug with Match And Replace
913

1014

1115
**3.4.0 20200621**

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Download releases:
2727

2828
## Profiles
2929

30-
* Thanks to [Six2dez1](https://twitter.com/Six2dez1) for collect all of the Burp Bounty profiles and also share their own. You can find the collection [HERE](https://github.com/wagiro/BurpBounty/tree/master/profiles/)
30+
* Thanks to [Six2dez1](https://github.com/six2dez) for collect all of the Burp Bounty profiles and also share their own. You can find the collection [HERE](https://github.com/wagiro/BurpBounty/tree/master/profiles/)
3131

3232
* Also thanks to:
3333

@@ -53,3 +53,9 @@ All of them have contributed by sharing their Burp Bounty profiles
5353

5454

5555
<br/>
56+
57+
58+
## Special Thanks
59+
60+
* Thanks to [Nexsus](https://twitter.com/Nexsus1985) for helping me to detect errors in the extension and thus be able to solve them.
61+

src/ActiveProfile.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,9 @@ public void loadGrepsFile(DefaultTableModel model) {
187187
bufferreader.close();
188188
showGreps(grep);
189189
} catch (FileNotFoundException ex) {
190-
callbacks.printError("ActivePorfile line 213:" + ex.getMessage());
190+
callbacks.printError("ActiveProfile line 213:" + ex.getMessage());
191191
} catch (IOException ex) {
192-
callbacks.printError("ActivePorfile line 215:" + ex.getMessage());
192+
callbacks.printError("ActiveProfile line 215:" + ex.getMessage());
193193
}
194194
}
195195
}

src/BurpBountyExtension.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void registerExtenderCallbacks(IBurpExtenderCallbacks callbacks) {
8181
optionsTab.getVerticalScrollBar().setUnitIncrement(20);
8282
callbacks.addSuiteTab(this);
8383

84-
callbacks.printOutput("- Burp Bounty v3.5");
84+
callbacks.printOutput("- Burp Bounty v3.6");
8585
callbacks.printOutput("- For bugs please on the official github: https://github.com/wagiro/BurpBounty/");
8686
callbacks.printOutput("- Created by Eduardo Garcia Melia <wagiro@gmail.com>");
8787

@@ -242,7 +242,7 @@ public int consolidateDuplicateIssues(IScanIssue existingIssue, IScanIssue newIs
242242

243243
@Override
244244
public String getTabCaption() {
245-
return "Scan Check Builder";
245+
return "Burp Bounty";
246246
}
247247

248248
@Override

src/BurpBountyGui.form

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
<Layout>
123123
<DimensionLayout dim="0">
124124
<Group type="103" groupAlignment="0" attributes="0">
125-
<Component id="jTabbedPane2" alignment="0" pref="1140" max="32767" attributes="0"/>
125+
<Component id="jTabbedPane2" alignment="0" max="32767" attributes="0"/>
126126
</Group>
127127
</DimensionLayout>
128128
<DimensionLayout dim="1">
@@ -871,7 +871,7 @@
871871
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
872872
<Color blue="33" green="66" red="ff" type="rgb"/>
873873
</Property>
874-
<Property name="text" type="java.lang.String" value="&lt;html&gt;Burp Bounty version 3.5&lt;/html&gt;"/>
874+
<Property name="text" type="java.lang.String" value="&lt;html&gt;Burp Bounty version 3.6&lt;/html&gt;"/>
875875
</Properties>
876876
</Component>
877877
<Component class="javax.swing.JLabel" name="jLabel7">

src/BurpBountyGui.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,7 @@ public void mouseClicked(java.awt.event.MouseEvent evt) {
27972797

27982798
jLabel6.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
27992799
jLabel6.setForeground(new java.awt.Color(255, 102, 51));
2800-
jLabel6.setText("<html>Burp Bounty version 3.5</html>");
2800+
jLabel6.setText("<html>Burp Bounty version 3.6</html>");
28012801

28022802
jLabel7.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
28032803
jLabel7.setForeground(new java.awt.Color(255, 102, 51));
@@ -2850,7 +2850,7 @@ public void mouseClicked(java.awt.event.MouseEvent evt) {
28502850
this.setLayout(layout);
28512851
layout.setHorizontalGroup(
28522852
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
2853-
.addComponent(jTabbedPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 1140, Short.MAX_VALUE)
2853+
.addComponent(jTabbedPane2)
28542854
);
28552855
layout.setVerticalGroup(
28562856
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)

src/GenericScan.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,9 @@ public List<IScanIssue> runAScan(IHttpRequestResponse baseRequestResponse, IScan
416416
for (int index = 0; index < greps.size(); index++) {
417417
greps_final.add(new ArrayList());
418418
}
419-
420-
421419

422420
for (String grep : greps) {
423-
String[] tokens = grep.split(",",3);
421+
String[] tokens = grep.split(",", 3);
424422
if (tokens[0].equals("true")) {
425423
if (tokens[1].equals("Or")) {
426424
if (!tokens[2].equals("")) {
@@ -568,7 +566,7 @@ public List<IScanIssue> runResPScan(IHttpRequestResponse baseRequestResponse, Js
568566
break;
569567
}
570568

571-
String[] tokens = grep.split(",",3);
569+
String[] tokens = grep.split(",", 3);
572570

573571
if (tokens.length > 1) {
574572
if (tokens[0].equals("true")) {
@@ -642,7 +640,7 @@ public List<IScanIssue> runReqPScan(IHttpRequestResponse baseRequestResponse, Js
642640

643641
for (String grep : greps) {
644642

645-
String[] tokens = grep.split(",",5);
643+
String[] tokens = grep.split(",", 5);
646644

647645
if (tokens.length > 1) {
648646
if (tokens[0].equals("true")) {
@@ -761,7 +759,7 @@ public URL getLocation(IHttpService httpService, IHttpRequestResponse response)
761759
} else if (Location.startsWith("/")) {
762760
url = new URL(httpService.getProtocol() + "://" + httpService.getHost() + Location);
763761
return url;
764-
} else{
762+
} else {
765763
url = new URL(httpService.getProtocol() + "://" + httpService.getHost() + "/" + Location);
766764
return url;
767765
}
@@ -771,7 +769,7 @@ public URL getLocation(IHttpService httpService, IHttpRequestResponse response)
771769
}
772770
}
773771

774-
public byte[] getMatchAndReplace(List<Headers> headers, byte[] checkRequest, String payload, String bchost) {
772+
public byte[] getMatchAndReplace(List<Headers> headers, byte[] checkRequest, String payload, String bchost) {
775773
String tempRequest = helpers.bytesToString(checkRequest);
776774

777775
if (!headers.isEmpty()) {
@@ -815,6 +813,7 @@ public int getContentLength(IHttpRequestResponse response) {
815813
try {
816814
response_info = helpers.analyzeResponse(response.getResponse());
817815
} catch (NullPointerException ex) {
816+
callbacks.printError("GenericScan line 1279: " + ex.getMessage());
818817
return 0;
819818
}
820819

src/GrepMatch.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public IScanIssue getResponseMatches(IHttpRequestResponse requestResponse, Strin
8888
m = p.matcher(responseString);
8989
}
9090
} catch (PatternSyntaxException pse) {
91-
callbacks.printError("GrepMacth line 93 Incorrect regex: " + pse.getPattern());
91+
callbacks.printError("Grep Match line 93 Incorrect regex: " + pse.getPattern());
9292
return null;
9393
}
9494

@@ -222,7 +222,7 @@ public Object[] getRequestMatches(IHttpRequestResponse requestResponse, List<Str
222222
try {
223223
p = Pattern.compile(grep, Pattern.CASE_INSENSITIVE);
224224
} catch (PatternSyntaxException pse) {
225-
callbacks.printError("Grep Macth line 251 Incorrect regex: " + pse.getPattern());
225+
callbacks.printError("Grep Match line 251 Incorrect regex: " + pse.getPattern());
226226
return null;
227227
}
228228

@@ -238,7 +238,7 @@ public Object[] getRequestMatches(IHttpRequestResponse requestResponse, List<Str
238238
p = Pattern.compile(grep, Pattern.CASE_INSENSITIVE);
239239
m = p.matcher(helpers.bytesToString(requestResponse.getRequest()));
240240
} catch (PatternSyntaxException pse) {
241-
callbacks.printError("Grep Macth line 251 Incorrect regex: " + pse.getPattern());
241+
callbacks.printError("Grep Match line 251 Incorrect regex: " + pse.getPattern());
242242
return null;
243243
}
244244

0 commit comments

Comments
 (0)