Sha256: 209395d408e83f62cba1e72e9a2c140f5bd7cfe60dcada81dd8d0ef48086635a

Contents?: true

Size: 777 Bytes

Versions: 22

Compression:

Stored size: 777 Bytes

Contents

class AddWmapTables < ActiveRecord::Migration[4.2]
	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

22 entries across 22 versions & 2 rubygems

Version Path
wg-metasploit_data_models-4.1.4.02 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-6.0.5 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-6.0.4 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-6.0.3 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-6.0.2 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-6.0.1 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-6.0.0 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-5.0.6 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-5.0.5 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-5.0.4 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-5.0.3 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-5.0.2 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-5.0.1 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-5.0.0 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-4.1.4 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-4.1.3 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-4.1.2 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-4.1.1 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-4.1.0 db/migrate/001_add_wmap_tables.rb
metasploit_data_models-4.0.2 db/migrate/001_add_wmap_tables.rb