Загрузка данных


DROP TABLE IF EXISTS `profiles`;

-- Создаём новую со всеми нужными колонками
CREATE TABLE `profiles` (
  `profile` varchar(255) NOT NULL DEFAULT '',
  `username` varchar(255) DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL,
  `mask` int(11) DEFAULT '0',
  `ignore_dbs` varchar(255) DEFAULT NULL,
  `dbs` text,
  `ignore_tables` varchar(255) DEFAULT NULL,
  `tables` text,
  `ignore_columns` varchar(255) DEFAULT NULL,
  `columns` text,
  `rows` int(11) DEFAULT NULL,
  `scantype` varchar(255) DEFAULT NULL,
  `regex` text,
  `creditcards` text,
  `debug` int(11) DEFAULT '0',
  PRIMARY KEY (`profile`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

INSERT INTO profiles (`profile`, `username`, `password`, `mask`, `ignore_dbs`, `dbs`, `ignore_tables`, `tables`, `ignore_columns`, `columns`, `rows`, `scantype`, `regex`, `creditcards`, `debug`)
VALUES (
    'test_scan',
    'root',
    '',
    0,
    'everything',
    '',
    'everything',
    '',
    'everything',
    '',
    10,
    'mysql_agentless',
    '',
    '',
    0
);