-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathinitial.sql
79 lines (74 loc) · 1.66 KB
/
initial.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
create table catagory
(
id INTEGER
primary key autoincrement,
name varchar(255),
comment varchar(255)
);
create table hosts
(
id INTEGER
primary key autoincrement,
shellid int,
ip varchar(255),
os varchar(255),
status varchar(255),
comment varchar(255)
);
create table plugins
(
id INTEGER
primary key autoincrement,
name varchar(255),
version varchar(255),
entryFile varchar(255),
scriptType varchar(20),
type varchar(255),
isGetShell int,
icon varchar(255),
author varchar(255),
link varchar(255),
qrcode varchar(255),
status int,
comment varchar(255)
);
create table proxys
(
id INTEGER
primary key autoincrement,
name varchar(255),
type varchar(20),
ip varchar(255),
port int,
username varchar(255) default '',
password varchar(255) default '',
status int
);
create table services
(
id INTEGER
primary key autoincrement,
hostid int,
port varchar(6),
name varchar(255),
banner text default '',
status varchar(255),
comment varchar(255)
);
create table shells
(
id INTEGER
primary key autoincrement,
url text not null,
ip varchar(15),
password varchar(255),
type varchar(20),
os varchar(255) default '',
comment text default '',
memo text default '',
addtime TIMESTAMP,
updatetime TIMESTAMP,
accesstime TIMESTAMP,
headers text,
catagory varchar(255)
);