Sha256: 92c26601c3a778d2f79a78e689d4757615d8e5c50283174514a2db580172ac5d

Contents?: true

Size: 821 Bytes

Versions: 6

Compression:

Stored size: 821 Bytes

Contents

module WPScan
  module DB
    # WP Version
    class Version < WpItem
      include DataMapper::Resource

      storage_names[:default] = 'versions'

      has n, :fingerprints, constraint: :destroy

      property :id, Serial
      property :number, String, required: true, unique: true
    end

    # Path
    class Path
      include DataMapper::Resource

      storage_names[:default] = 'paths'

      has n, :fingerprints, constraint: :destroy

      property :id, Serial
      property :value, String, required: true, unique: true
    end

    # Fingerprint
    class Fingerprint
      include DataMapper::Resource

      storage_names[:default] = 'fingerprints'

      belongs_to :version, key: true
      belongs_to :path, key: true

      property :md5_hash, String, required: true, length: 32
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wpscan-3.0.5 lib/wpscan/db/schema.rb
wpscan-3.0.4 lib/wpscan/db/schema.rb
wpscan-3.0.3 lib/wpscan/db/schema.rb
wpscan-3.0.2 lib/wpscan/db/schema.rb
wpscan-3.0.1 lib/wpscan/db/schema.rb
wpscan-3.0 lib/wpscan/db/schema.rb