Skip to content

Commit

Permalink
Burp Bounty 3.0.6beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Garcia committed Aug 19, 2019
1 parent 4312d8c commit d373710
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 24 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,20 @@ This Burp Suite extension allows you, in a quick and simple way, to improve the

* Profiles from [Gocha](https://twitter.com/GochaOqradze) in their [Github](https://github.com/ghsec/BBProfiles)

* Profiles from [Sy3Omda](https://twitter.com/Sy3Omda) in their [Github](https://github.com/Sy3Omda/burp-bounty)


### For example videos please visit our youtube channel:

* [YouTube](https://www.youtube.com/channel/UCSq4R2o9_nGIMHWZ4H98GkQ/videos)


## Changelog
**3.0.5beta 201906112**
**3.0.6beta 20190819**
* Fixed error with tab
* Fixed error with status code

**3.0.5beta 20190612**
* Choose insertion points type for one profile
* Fixed error with redirections

Expand Down
2 changes: 1 addition & 1 deletion src/BurpBountyExtension.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void registerExtenderCallbacks(IBurpExtenderCallbacks callbacks) {
optionsTab = new JScrollPane(panel, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
callbacks.addSuiteTab(this);

callbacks.printOutput("- Burp Bounty v3.0.5beta");
callbacks.printOutput("- Burp Bounty v3.0.6beta");
callbacks.printOutput("- For bugs please on the official github: https://github.com/wagiro/BurpBounty/");
callbacks.printOutput("- Created by Eduardo Garcia Melia <wagiro@gmail.com>");
bct.start();
Expand Down
22 changes: 12 additions & 10 deletions src/BurpBountyGui.form
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
<Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="48" max="-2" attributes="0"/>
<Component id="jTabbedPane2" min="-2" pref="1499" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="jTabbedPane2" min="-2" pref="1581" max="-2" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down Expand Up @@ -125,7 +125,6 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="headerstab" alignment="0" pref="0" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="19" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
Expand Down Expand Up @@ -156,7 +155,11 @@
</Group>
</Group>
</Group>
<EmptySpace max="32767" attributes="0"/>
<EmptySpace pref="36" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="headerstab" pref="0" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down Expand Up @@ -184,8 +187,7 @@
<EmptySpace max="-2" attributes="0"/>
<Component id="radioPR" min="-2" max="-2" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="headerstab" pref="1361" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="headerstab" pref="1405" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down Expand Up @@ -1084,7 +1086,7 @@
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
<Group type="102" attributes="0">
<Component id="jSeparator12" pref="4" max="32767" attributes="0"/>
<Component id="jSeparator12" pref="1" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="jSeparator11" min="-2" pref="952" max="-2" attributes="0"/>
</Group>
Expand Down Expand Up @@ -1961,7 +1963,7 @@
<Group type="102" attributes="0">
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jSeparator8" alignment="0" pref="950" max="32767" attributes="0"/>
<Component id="jSeparator8" alignment="0" pref="944" max="32767" attributes="0"/>
<Component id="jSeparator9" alignment="0" max="32767" attributes="0"/>
<Component id="jLabel33" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel35" alignment="0" min="-2" max="-2" attributes="0"/>
Expand Down Expand Up @@ -2566,7 +2568,7 @@
<Component id="jtabpane" min="-2" pref="543" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace pref="776" max="32767" attributes="0"/>
<EmptySpace pref="858" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down Expand Up @@ -2808,7 +2810,7 @@
<Component id="jButton13" min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane13" min="-2" pref="296" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="1076" max="32767" attributes="0"/>
<EmptySpace pref="1158" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down
19 changes: 10 additions & 9 deletions src/BurpBountyGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -3135,7 +3135,7 @@ public void itemStateChanged(java.awt.event.ItemEvent evt) {
.addComponent(variationsRadio))
.addGap(0, 0, Short.MAX_VALUE))
.addGroup(jPanel11Layout.createSequentialGroup()
.addComponent(jSeparator12, javax.swing.GroupLayout.DEFAULT_SIZE, 4, Short.MAX_VALUE)
.addComponent(jSeparator12, javax.swing.GroupLayout.DEFAULT_SIZE, 1, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jSeparator11, javax.swing.GroupLayout.PREFERRED_SIZE, 952, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel11Layout.createSequentialGroup()
Expand Down Expand Up @@ -3412,7 +3412,7 @@ public void itemStateChanged(java.awt.event.ItemEvent evt) {
.addGroup(jPanel12Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jSeparator8, javax.swing.GroupLayout.DEFAULT_SIZE, 950, Short.MAX_VALUE)
.addComponent(jSeparator8, javax.swing.GroupLayout.DEFAULT_SIZE, 944, Short.MAX_VALUE)
.addComponent(jSeparator9)
.addComponent(jLabel33)
.addComponent(jLabel35)
Expand Down Expand Up @@ -3620,7 +3620,6 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(headerstab, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(19, 19, 19)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
Expand All @@ -3647,7 +3646,10 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addComponent(radio1)
.addComponent(radio2)
.addComponent(radioPR))))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addContainerGap(36, Short.MAX_VALUE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(headerstab, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addContainerGap())
);

jPanel1Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jButton2, jButton3});
Expand All @@ -3674,8 +3676,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(radioPR)
.addGap(18, 18, 18)
.addComponent(headerstab, javax.swing.GroupLayout.PREFERRED_SIZE, 1361, Short.MAX_VALUE)
.addContainerGap())
.addComponent(headerstab, javax.swing.GroupLayout.PREFERRED_SIZE, 1405, Short.MAX_VALUE))
);

jTabbedPane2.addTab(" Profiles Definition ", jPanel1);
Expand Down Expand Up @@ -3819,7 +3820,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addGroup(jPanel2Layout.createSequentialGroup()
.addGap(18, 18, 18)
.addComponent(jtabpane, javax.swing.GroupLayout.PREFERRED_SIZE, 543, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(776, Short.MAX_VALUE))
.addContainerGap(858, Short.MAX_VALUE))
);

jTabbedPane2.addTab(" Profiles Manager ", jPanel2);
Expand Down Expand Up @@ -3891,7 +3892,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addComponent(jButton12))
.addComponent(jButton13)
.addComponent(jScrollPane13, javax.swing.GroupLayout.PREFERRED_SIZE, 296, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(1076, Short.MAX_VALUE))
.addContainerGap(1158, Short.MAX_VALUE))
);

jTabbedPane2.addTab(" Tags Manager ", jPanel4);
Expand Down Expand Up @@ -3923,7 +3924,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addComponent(text11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton1))
.addGap(48, 48, 48)
.addComponent(jTabbedPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 1499, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jTabbedPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 1581, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap())
);
}// </editor-fold>//GEN-END:initComponents
Expand Down
8 changes: 5 additions & 3 deletions src/GenericScan.java
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ public List<IScanIssue> runAScan(IHttpRequestResponse baseRequestResponse, IScan
responseCode = new Integer(r.getStatusCode());
if (responseCodes.contains(responseCode)) {

if (!isresponsecode && isResponseCode(responsecode, negativerc, responseCode) || !iscontenttype && isContentType(contenttype, negativect, r)) {
if (isResponseCode(responsecode, negativerc, responseCode) || !iscontenttype && isContentType(contenttype, negativect, r)) {
for (String grep : greps) {
matches = gm.getResponseMatches(requestResponse, payload, grep, issuename, issuedetail, issuebackground, remediationdetail, remediationbackground, charstourlencode, matchtype,
issueseverity, issueconfidence, notresponse, casesensitive, urlencode, excludeHTTP, onlyHTTP);
Expand All @@ -435,7 +435,7 @@ public List<IScanIssue> runAScan(IHttpRequestResponse baseRequestResponse, IScan
requestResponse.setResponse(redirectRequestResponse.getResponse());

} else {
if (!isresponsecode && isResponseCode(responsecode, negativerc, responseCode) || !iscontenttype && isContentType(contenttype, negativect, r)) {
if (isResponseCode(responsecode, negativerc, responseCode) || !iscontenttype && isContentType(contenttype, negativect, r)) {
for (String grep : greps) {
matches = gm.getResponseMatches(requestResponse, payload, grep, issuename, issuedetail, issuebackground, remediationdetail, remediationbackground, charstourlencode, matchtype,
issueseverity, issueconfidence, notresponse, casesensitive, urlencode, excludeHTTP, onlyHTTP);
Expand Down Expand Up @@ -511,7 +511,7 @@ public List<IScanIssue> runPScan(IHttpRequestResponse baseRequestResponse) throw
Integer responseCode = new Integer(r.getStatusCode());

IScanIssue matches = null;
if (!isresponsecode && isResponseCode(responsecode, negativerc, responseCode) || !iscontenttype && isContentType(contenttype, negativect, r)) {
if (isResponseCode(responsecode, negativerc, responseCode) || !iscontenttype && isContentType(contenttype, negativect, r)) {
matches = gm.getResponseMatches(baseRequestResponse, "", grep, issuename, issuedetail, issuebackground, remediationdetail, remediationbackground, "", matchtype,
issueseverity, issueconfidence, notresponse, casesensitive, false, excludeHTTP, onlyHTTP);
}
Expand Down Expand Up @@ -683,6 +683,7 @@ public int getContentLength(IHttpRequestResponse response) {
public boolean isResponseCode(String responsecodes, boolean negativerc, Integer responsecode) {

boolean iscode = true;

if (responsecodes.equals("")) {
return iscode;
}
Expand All @@ -703,6 +704,7 @@ public boolean isResponseCode(String responsecodes, boolean negativerc, Integer
break;
}
}

return iscode;
}

Expand Down

0 comments on commit d373710

Please sign in to comment.