cms_scanner 0.0.38.3 → 0.0.38.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a0d7370e2c4c517fd39403ea4617af548a405797
4
- data.tar.gz: 8593989ce1eda556d77f19f88affb1de4d350889
3
+ metadata.gz: 5129bb964f15606a14d7b789f6bedde506998491
4
+ data.tar.gz: d7a0f14baa494e6337a55c8b4e8eab266f90f6bf
5
5
  SHA512:
6
- metadata.gz: 9f7f11009ba89617261125036f8039bde1982b347f8df5d13ffc465ed1850975cf999c5dbe0356c7cbcba6b13b03d4bad52a6bc33c4667877ab9a7768192c978
7
- data.tar.gz: 8daf0b5410e3a5f62ee2b63c37f563ea27374bcc1f54f2fb23654ee182435b349ea27d4d90d6101bed83311b54a2357cf06aa448c5328c8ec8d560fc089ea262
6
+ metadata.gz: 2162f4eb2c144fec9643c81b73ab26dbb3909720ba6e16ba300a5bd88962bcf988873e69e2317b8107e83288a65813925d8b8a9f8318b8bca6ae4dd21d22280c
7
+ data.tar.gz: 1c8472b27cb93615558956812a3ee5ae3a4368b9a6f9135761555c6c719a6fe1ff7178634f6df10826312e7e5bc55a5bcd397445fad3daa541a546e2294e3fa5
@@ -14,7 +14,7 @@ module CMSScanner
14
14
  end
15
15
 
16
16
  def before_scan
17
- output('banner') unless parsed_options[:no_banner]
17
+ output('banner') unless parsed_options[:banner] == false
18
18
 
19
19
  setup_cache
20
20
  check_target_availability
@@ -9,7 +9,7 @@ module CMSScanner
9
9
  OptURL.new(['-u', '--url URL', 'The URL to scan'], required: true, default_protocol: 'http'),
10
10
  OptBoolean.new(['--ignore-main-redirect', 'Ignore the main redirect if any and scan the target url']),
11
11
  OptBoolean.new(%w[-v --verbose]),
12
- OptBoolean.new(['--no-banner', 'Disable output of the banner']),
12
+ OptBoolean.new(['--[no-]banner', 'Whether or not to display the banner'], default: true),
13
13
  OptFilePath.new(['-o', '--output FILE', 'Output to FILE'], writable: true, exists: false),
14
14
  OptChoice.new(['-f', '--format FORMAT',
15
15
  'Output results in the format supplied'], choices: formats),
@@ -1,4 +1,4 @@
1
1
  # Version
2
2
  module CMSScanner
3
- VERSION = '0.0.38.3'.freeze
3
+ VERSION = '0.0.38.4'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cms_scanner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.38.3
4
+ version: 0.0.38.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam