33 lines
718 B
MySQL
33 lines
718 B
MySQL
|
|
||
|
|
||
|
CREATE DATABASE `ctf-zetatech-inc`
|
||
|
|
||
|
CREATE USER 'cyber-zetatech-inc'@'localhost' IDENTIFIED BY 'wY7nhg7xnzmCcJbfz3Gf89qyU5cvpr';
|
||
|
|
||
|
GRANT SELECT ON `ctf-zetatech-inc`.* TO `cyber-zetatech-inc`@`localhost`;
|
||
|
|
||
|
FLUSH PRIVILEGES;
|
||
|
|
||
|
use ctf
|
||
|
|
||
|
CREATE TABLE `access` (
|
||
|
`id` int NOT NULL AUTO_INCREMENT,
|
||
|
`user` varchar(100) NOT NULL,
|
||
|
`password` varchar(100) NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
|
||
|
|
||
|
INSERT INTO `access` (`user`, `password`)
|
||
|
VALUES (
|
||
|
'admin',
|
||
|
'e6c2d84527c9f0af9b6d6fe33fd987b6ef47360e335e71220201e72c4ac5ccf9'
|
||
|
);
|
||
|
|
||
|
|
||
|
INSERT INTO `access` (`user`, `password`)
|
||
|
VALUES (
|
||
|
'puppet-master',
|
||
|
'31e2d9e7ee8279341dee46986670996145a699937616fd03fe362426b5b47c25'
|
||
|
);
|