dradis-burp 4.10.0 → 4.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bd1fa2f6a54abe2a9883e3050ce4b3aa41e2181bc1e875f2e3d71f4eb8d2b3f
4
- data.tar.gz: 83aad8a3721efd3b2ecb987c4a5bbd3eb95f8ab4677a85acce9113e1ad138c65
3
+ metadata.gz: 35da1eb748edfacdb634c08f4b652445ef13b9f8beae0e2c02b008e365d84bb3
4
+ data.tar.gz: cb96449c95b297b7983644dcd3e7070c6f879caefcdc49aa170e7c8a06b2ea8c
5
5
  SHA512:
6
- metadata.gz: 2840df6b1a43ec4adfbafaaeed355f6a4c0c4b9eb8d79fea36b2937c2e6dfeef6a09cd81e4606fc472d214c47f99f89e6ae4ef719511d608ff993fcdf917a6e6
7
- data.tar.gz: 1f2ad7d6df4a86765b96ceebaf8498c1d1bf61432fcf016ac9c7c6e596690b6d4c38f59b2262e32088a3d3d8da040d58c48387dc3c305e4bd6e282453a1006b2
6
+ metadata.gz: 3314aba3f20772abdb4d6ef94d7d67ce087a056ed251fce946e00a8425f371ccd7ce3e4b10150befb61b79472fdda2885bd7596ca3656f71120e107c81061d40
7
+ data.tar.gz: 31b097ce674358ce0dcd8e85f781230d09cc2f8ea57e63cae21a3fa3cc505116eb0724edf73f75581f3d9972a84c35ac07254d15ed78333f8405e1c5626df982
@@ -1,3 +1,5 @@
1
+ Please review [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/develop/CONTRIBUTING.md) and remove this line.
2
+
1
3
  ### Summary
2
4
 
3
5
  Provide a general description of the code changes in your pull
@@ -6,6 +8,11 @@ these bugs have open GitHub issues, be sure to tag them here as well,
6
8
  to keep the conversation linked together.
7
9
 
8
10
 
11
+ ### Testing Steps
12
+
13
+ Provide steps to test functionality, described in detail for someone not familiar with this part of the application / code base
14
+
15
+
9
16
  ### Other Information
10
17
 
11
18
  If there's anything else that's important and relevant to your pull
@@ -26,11 +33,13 @@ products, we must have the copyright associated with the entire
26
33
  codebase. Any code you create which is merged must be owned by us.
27
34
  That's not us trying to be a jerks, that's just the way it works.
28
35
 
29
- Please review the [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/master/CONTRIBUTING.md)
30
- file for the details.
31
-
32
36
  You can delete this section, but the following sentence needs to
33
37
  remain in the PR's description:
34
38
 
35
39
  > I assign all rights, including copyright, to any future Dradis
36
40
  > work by myself to Security Roots.
41
+
42
+ ### Check List
43
+
44
+ - [ ] Added a CHANGELOG entry
45
+ - [ ] Added specs
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ v4.11.0 (January 2024)
2
+ - Fix compatibility with nokogiri >= 1.15
3
+
1
4
  v4.10.0 (September 2023)
2
5
  - Update gemspec links
3
6
 
data/README.md CHANGED
@@ -11,12 +11,12 @@ The add-on requires [Dradis CE](https://dradisframework.org/) > 3.0, or [Dradis
11
11
 
12
12
  ## More information
13
13
 
14
- See the Dradis Framework's [README.md](https://github.com/dradis/dradisframework/blob/master/README.md)
14
+ See the Dradis Framework's [README.md](https://github.com/dradis/dradis-ce/blob/develop/README.md)
15
15
 
16
16
 
17
17
  ## Contributing
18
18
 
19
- See the Dradis Framework's [CONTRIBUTING.md](https://github.com/dradis/dradisframework/blob/master/CONTRIBUTING.md)
19
+ See the Dradis Framework's [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/develop/CONTRIBUTING.md)
20
20
 
21
21
 
22
22
  ## License
@@ -153,7 +153,7 @@ module Burp
153
153
  table = h2.next_element
154
154
 
155
155
  summary_table_tags.each do |tag|
156
- td = table.search("td:starts-with('#{tag.to_s.capitalize}:')").first
156
+ td = table.xpath("//td[starts-with(.,'#{tag.to_s.capitalize}:')]").first
157
157
  @summary[tag] = td.next_element.text
158
158
  end
159
159
 
@@ -8,7 +8,7 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 4
11
- MINOR = 10
11
+ MINOR = 11
12
12
  TINY = 0
13
13
  PRE = nil
14
14
 
@@ -90,7 +90,7 @@ module Dradis::Plugins::Burp
90
90
  evidence_id = html_evidence.attr('id').value
91
91
  logger.info { "Processing evidence #{evidence_id}" }
92
92
 
93
- host_td = html_evidence.search("td:starts-with('Host:')").first
93
+ host_td = html_evidence.xpath("//td[starts-with(.,'Host:')]").first
94
94
  host_label = host_td.next_element.text.split('//').last
95
95
  host = content_service.create_node(label: host_label, type: :host)
96
96
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dradis-burp
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.10.0
4
+ version: 4.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Martin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-07 00:00:00.000000000 Z
11
+ date: 2024-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins
@@ -96,7 +96,7 @@ dependencies:
96
96
  version: 0.5.2
97
97
  description: This plugin allows you to upload and parse output produced from Portswigger's
98
98
  Burp Scanner into Dradis.
99
- email:
99
+ email:
100
100
  executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
@@ -145,7 +145,7 @@ homepage: https://dradis.com/integrations/burp.html
145
145
  licenses:
146
146
  - GPL-2
147
147
  metadata: {}
148
- post_install_message:
148
+ post_install_message:
149
149
  rdoc_options: []
150
150
  require_paths:
151
151
  - lib
@@ -160,8 +160,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubygems_version: 3.1.4
164
- signing_key:
163
+ rubygems_version: 3.3.7
164
+ signing_key:
165
165
  specification_version: 4
166
166
  summary: Burp Scanner upload plugin for the Dradis Framework.
167
167
  test_files: