cms_scanner 0.0.39.3 → 0.0.39.4

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
  SHA1:
3
- metadata.gz: 6eda73cb0b4e2c4199e1ca9c03dd54247374ea63
4
- data.tar.gz: 308d365a7367ac2aebccea113230617ed971da9f
3
+ metadata.gz: 58b52cb634c4d75bf219bc8d20c80e5fee5c2c50
4
+ data.tar.gz: e52cef2bc43b496dcecd1c62a0aa9c553491d5c2
5
5
  SHA512:
6
- metadata.gz: a47553a96a9add11ec16518495fd6cb0cff86cdae9efaddb705b7b8812808b76b4a10fc3b1ef66068828fcd408f40accd5171281de39f749b82fe106d59b80d7
7
- data.tar.gz: 285bcf67945e2a4c2d99bb0f2d222f3c3fd783601a5620e59e8193318eb92376a0c5b69a50af033e08838bf6e21ce9ca61a64389704bcd6be13958898e0c842d
6
+ metadata.gz: 5ff2b8e58f3f41adc33d35b99966c27cd065eb1685f9c9dc2ff25fd9f8106d395b3d0dc2a9c268bf97caa14854b5ce84613ea647081c104012c9d3faaf188242
7
+ data.tar.gz: 6185217fb45afbd258990731cc9b25ee3d91de3ceb6f130ba47ab93aec3d41518adc17f00175d950bfc2f6407b508147f5d0055dc7c5d5e850623d28949ca0d3
@@ -19,7 +19,10 @@ module CMSScanner
19
19
  progress_bar.increment
20
20
 
21
21
  next if target.homepage_or_404?(res)
22
- next if opts[:exclude_content] && res.body.match(opts[:exclude_content])
22
+
23
+ if opts[:exclude_content]
24
+ next if res.response_headers&.match(opts[:exclude_content]) || res.body.match(opts[:exclude_content])
25
+ end
23
26
 
24
27
  yield res, id
25
28
  end
@@ -1,4 +1,4 @@
1
1
  # Version
2
2
  module CMSScanner
3
- VERSION = '0.0.39.3'.freeze
3
+ VERSION = '0.0.39.4'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cms_scanner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.39.3
4
+ version: 0.0.39.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-14 00:00:00.000000000 Z
11
+ date: 2018-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri