More work towards automation

git-svn-id: file:///home/svn/framework3/trunk@3902 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore
2006-09-17 00:39:23 +00:00
parent 0d1137e562
commit 7fc40e4734
8 changed files with 189 additions and 22 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
drop table hosts;
create table hosts (
'id' INTEGER PRIMARY KEY NOT NULL,
'address' VARCHAR(16) UNIQUE,
@@ -8,6 +8,7 @@ create table hosts (
'desc' VARCHAR(1024)
);
drop table services;
create table services (
'id' INTEGER PRIMARY KEY NOT NULL,
'host_id' INTEGER,
@@ -18,6 +19,7 @@ create table services (
'desc' VARCHAR(1024)
);
drop table vulns;
create table vulns (
'id' INTEGER PRIMARY KEY NOT NULL,
'service_id' INTEGER,
@@ -25,12 +27,14 @@ create table vulns (
'data' TEXT
);
drop table refs;
create table refs (
'id' INTEGER PRIMARY KEY NOT NULL,
'ref_id' INTEGER,
'name' VARCHAR(512)
);
drop table vulns_refs;
create table vulns_refs (
'ref_id' INTEGER,
'vuln_id' INTEGER