Let vulns refer to hosts w/o a service, add a mac and address6 field to the hosts table.

git-svn-id: file:///home/svn/framework3/trunk@6866 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore
2009-07-22 13:25:33 +00:00
parent 4c4a8a764c
commit 238f8d798f
4 changed files with 10 additions and 1 deletions
+3
View File
@@ -4,6 +4,8 @@ create table hosts (
id SERIAL PRIMARY KEY,
created TIMESTAMP,
address VARCHAR(16) UNIQUE,
address6 VARCHAR(255),
mac VARCHAR(255),
comm VARCHAR(255),
name VARCHAR(255),
state VARCHAR(255),
@@ -32,6 +34,7 @@ drop table vulns;
create table vulns (
id SERIAL PRIMARY KEY,
host_id INTEGER,
service_id INTEGER,
created TIMESTAMP,
name VARCHAR(255),