lib/tls_map/cli/cli.rb in tls-map-2.2.0 vs lib/tls_map/cli/cli.rb in tls-map-3.0.0

- old
+ new

@@ -5,17 +5,17 @@ # TLS map module module TLSmap # Offline version of {App} class CLI < App - INTEGRITY = '42e44f89550365da2bc8d33d87f88b65d85d6474e90f9edb65e0ea6c78f61a53' # sha2-256 + INTEGRITY = 'a04956498a5838c5f55cc58f255bd143a646826c8e709048d17e7d09adae0b4e' # sha2-256 # Load and parse data from marshalized hash (`data/mapping.marshal`). # It must match the integrity check for security purpose. # @param force [Boolean] Force parsing even if integrity check failed (DANGEROUS, # may result in command execution vulnerability) - def initialize(force = false) # rubocop:disable Lint/MissingSuper + def initialize(force = false) @storage_location = 'data/' @database_path = absolute_db_path('mapping.marshal') database_exists? @tls_map = [] parse(force) @@ -54,16 +54,16 @@ protected :database_exists?, :absolute_db_path, :parse # Offline version of {App::Extended} class Extended < App::Extended - INTEGRITY = '6573b7208668485e6bdd4495627f5fdbdd7f80040b277603bc42f20d16a665e7' # sha2-256 + INTEGRITY = 'bed565db6cc8da400c51bcc17107b68bce86f2c7bdf2495d43633679a295d0aa' # sha2-256 # Load and parse data from marshalized hash (`data/extended.marshal`). # It must match the integrity check for security purpose. # @param force [Boolean] Force parsing even if integrity check failed (DANGEROUS, # may result in command execution vulnerability) - def initialize(force = false) # rubocop:disable Lint/MissingSuper + def initialize(force = false) @storage_location = 'data/' @extended_path = absolute_db_path('extended.marshal') @enhanced_data = {} extended_exists? parse(force)