Sha256: c9484f8136c0db510e626af00f2000aa200fc30a605dcd83a16751fce2055f91

Contents?: true

Size: 772 Bytes

Versions: 154

Compression:

Stored size: 772 Bytes

Contents

class AddWmapTables < ActiveRecord::Migration
	def self.up
		create_table :wmap_targets do |t|
			t.string  :host                  # vhost
			t.string  :address, :limit => 16 # unique
			t.string  :address6
			t.integer :port
			t.integer :ssl
			t.integer :selected
		end

		create_table :wmap_requests do |t|
			t.string  :host                  # vhost
			t.string  :address, :limit => 16 # unique
			t.string  :address6
			t.integer :port
			t.integer :ssl
			t.string  :meth, :limit => 32
			t.text    :path
			t.text    :headers
			t.text    :query
			t.text    :body
			t.string  :respcode, :limit => 16
			t.text    :resphead
			t.text    :response
			t.timestamp :created
		end
	end

	def self.down
		drop_table :wmap_targets
		drop_table :wmap_requests
	end
end

Version data entries

154 entries across 154 versions & 1 rubygems

Version Path
metasploit_data_models-0.18.0-java db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.18.0.pre.compatibility db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.3-java db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.3 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.3.pre.metasploit.pre.concern-java db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.3.pre.metasploit.pre.concern db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.2-java db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.2 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.2.pre.metasploit.pre.data.pre.models.pre.search db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.1-java db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.1 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.0-java db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.17.0 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.16.9 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.16.9-java db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.16.8 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.16.8-java db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.16.7-java db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.16.7 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-0.16.6-java db/migrate/001_add_wmap_tables.rb