mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
1db9d8eb01
Tested with meterpreter, shell, and clientside exploit sessions. git-svn-id: file:///home/svn/framework3/trunk@10130 4d416f70-5f16-0410-b530-b9f4589650da
17 lines
371 B
Ruby
17 lines
371 B
Ruby
class AddExploitedTable < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :exploited_hosts do |t|
|
|
t.integer :host_id, :null => false
|
|
t.integer :service_id
|
|
t.string :session_uuid, :limit => 8
|
|
t.string :name, :limit => 2048
|
|
t.string :payload, :limit => 2048
|
|
t.timestamps
|
|
end
|
|
end
|
|
def self.down
|
|
drop_table :exploited_hosts
|
|
end
|
|
end
|
|
|