Sha256: fbc2570640ae8cc18c6f19490872a64b5e7b877c2437fdd9f892c702f9b78d51
Contents?: true
Size: 785 Bytes
Versions: 22
Compression:
Stored size: 785 Bytes
Contents
class AddVulnAttempts < ActiveRecord::Migration[4.2] 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
22 entries across 22 versions & 2 rubygems