Sha256: 4b0fdf5be2e10fad1d198e7b217fdd5e21041eafe5edc4bbae3ee3a494d9f60c

Contents?: true

Size: 780 Bytes

Versions: 154

Compression:

Stored size: 780 Bytes

Contents

class AddVulnAttempts < ActiveRecord::Migration

	def self.up
		create_table :vuln_attempts do |t|
			t.integer		:vuln_id       # Vuln table reference
			t.timestamp		:attempted_at  # Timestamp of when the session was opened or the module exited
			t.boolean		:exploited     # Whether or not the attempt succeeded
			t.string		:fail_reason   # Short string corresponding to a Msf::Exploit::Failure constant
			t.string		:username      # The user that tested this vulnerability
			t.text			:module        # The specific module name that was used
			t.integer		:session_id    # Database identifier of any opened session
			t.integer		:loot_id       # Database identifier of any 'proof' loot (for non-session exploits)
		end
	end

	def self.down
		drop_table :vuln_attempts
	end
end

Version data entries

154 entries across 154 versions & 1 rubygems

Version Path
metasploit_data_models-3.0.10 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-3.0.9 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-3.0.8 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-3.0.7 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-3.0.6 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-3.0.5 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-2.0.17 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-3.0.4 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-3.0.2 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-3.0.1 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-3.0.0 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-2.0.16 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-2.0.15 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-2.0.14 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-2.0.13 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-2.0.12 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-2.0.11 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-2.0.10 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-2.0.9 db/migrate/20120625000004_add_vuln_attempts.rb
metasploit_data_models-2.0.8 db/migrate/20120625000004_add_vuln_attempts.rb