Skip to content

Commit

Permalink
Merge pull request #18 from smarttang/dev
Browse files Browse the repository at this point in the history
v1.0.11版本
  • Loading branch information
smarttang authored May 24, 2022
2 parents 904dec5 + 4385cca commit fe0b4d9
Show file tree
Hide file tree
Showing 73 changed files with 76,757 additions and 17 deletions.
12 changes: 12 additions & 0 deletions backend/workapi/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM openjdk:15.0.2-jdk-slim-buster

ARG MODULE

COPY *.jar /app.jar

ENV JAVA_OPTS=""
ENV SERVER_PORT 8080

EXPOSE ${SERVER_PORT}

ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/urandom -jar /app.jar" ]
22 changes: 22 additions & 0 deletions deploy/docker-compose/db/init.sql → db/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,19 @@ CREATE TABLE `w3_website_service` (
PRIMARY KEY (`id`,`website_types`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='站点管理.服务配置';

-- ----------------------------
-- Table structure for w3_webscan_base_config
-- ----------------------------
DROP TABLE IF EXISTS `w3_webscan_base_config`;
CREATE TABLE `w3_webscan_base_config` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`webscan_config_string_info` text COMMENT '配置内容(字符串型)',
`webscan_config_type` tinyint(1) DEFAULT '0' COMMENT '配置类型,0:爬取深度,1:扫描并发数,2:扫描请求useragent,3:扫描插件,4:云翻译',
`webscan_config_int_info` int(11) DEFAULT '0' COMMENT '配置内容(数字型)',
`webscan_config_updatetime` datetime DEFAULT NULL COMMENT '配置创建/更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='web扫描设置';


/**
* 初始化数据
Expand Down Expand Up @@ -453,4 +466,13 @@ INSERT INTO `w3a_soc`.`w3_web_attack_rules`(`id`, `rules_name`, `rules_level`, `
INSERT INTO `w3a_soc`.`w3_web_attack_rules`(`id`, `rules_name`, `rules_level`, `rules_trigger_count`, `rules_createtime`, `rules_updatetime`, `rules_status`, `rules_delete`, `rules_regex`) VALUES (10, '弱口令探测', 2, 0, now(), NULL, 1, 1, 'KD9pKShwYXNzd29yZHxwYXNzfHBhc3N3ZHxwd2R8cGR8dXNlcnB3ZHx1c2VycGFzc3x1c2VycGFzc3dkfHVzZXJwYXNzd29yZHxwYXNzX3dvcmR8dXNlcl9wYXNzd29yZHx1c2VyX3Bhc3MpXD0oP2kpKGFkbWlufGFkbWluMTIzfGFkbWluMTIzNDU2fDEyMzQ1NnxhZG1pbjg4OHxhZG1pbjg4ODh8dGVzdHwxMjM0fDEyM3x0ZXN0MTIzKQ==');
INSERT INTO `w3a_soc`.`w3_web_attack_rules`(`id`, `rules_name`, `rules_level`, `rules_trigger_count`, `rules_createtime`, `rules_updatetime`, `rules_status`, `rules_delete`, `rules_regex`) VALUES (11, 'XSS跨站脚本攻击', 2, 0, now(), NULL, 1, 1, 'XDwoP2kpc2NyaXB0XD4oP2kpYWxlcnRcKCguKilcKVw8XC8oP2kpc2NyaXB0XD4=');

-- ----------------------------
-- web漏洞扫描
-- ----------------------------
INSERT INTO `w3a_soc`.`w3_webscan_base_config`(`id`, `webscan_config_string_info`, `webscan_config_type`, `webscan_config_int_info`, `webscan_config_updatetime`) VALUES (1, 'allowed_methods, backdoors, backup_directories, backup_files, captcha, code_injection, code_injection_php_input_wrapper, code_injection_timing, common_admin_interfaces, common_directories, common_files, cookie_set_for_parent_domain, credit_card, csrf, cvs_svn_users, directory_listing, emails, file_inclusion, form_upload, hsts, htaccess_limit, html_objects, http_only_cookies, http_put, insecure_client_access_policy, insecure_cookies, insecure_cors_policy, insecure_cross_domain_policy_access, insecure_cross_domain_policy_headers, interesting_responses, ldap_injection, localstart_asp, mixed_resource, no_sql_injection, no_sql_injection_differential, origin_spoof_access_restriction_bypass, os_cmd_injection, os_cmd_injection_timing, password_autocomplete, path_traversal, private_ip, response_splitting, rfi, session_fixation, source_code_disclosure, sql_injection, sql_injection_differential, sql_injection_timing, ssn, trainer, unencrypted_password_forms, unvalidated_redirect, unvalidated_redirect_dom, webdav, x_frame_options, xpath_injection, xss, xss_dom, xss_dom_script_context, xss_event, xss_path, xss_script_context, xss_tag, xst, xxe', 3, 0, now());
INSERT INTO `w3a_soc`.`w3_webscan_base_config`(`id`, `webscan_config_string_info`, `webscan_config_type`, `webscan_config_int_info`, `webscan_config_updatetime`) VALUES (2, NULL, 0, 4, now());
INSERT INTO `w3a_soc`.`w3_webscan_base_config`(`id`, `webscan_config_string_info`, `webscan_config_type`, `webscan_config_int_info`, `webscan_config_updatetime`) VALUES (3, NULL, 1, 10, now());
INSERT INTO `w3a_soc`.`w3_webscan_base_config`(`id`, `webscan_config_string_info`, `webscan_config_type`, `webscan_config_int_info`, `webscan_config_updatetime`) VALUES (4, 'Baiduspider+(+http://www.baidu.com/search/spider.htm)', 2, 0, now());
INSERT INTO `w3a_soc`.`w3_webscan_base_config`(`id`, `webscan_config_string_info`, `webscan_config_type`, `webscan_config_int_info`, `webscan_config_updatetime`) VALUES (5, NULL, 4, 0, now());

SET FOREIGN_KEY_CHECKS = 1;
173 changes: 163 additions & 10 deletions db/w3a_soc.sql → deploy/docker-compose-m1/db/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,124 @@ CREATE TABLE `w3_alter_paramets` (
`alter_referer` text COMMENT '配置Referer',
`alter_frequency` bigint(20) DEFAULT '0' COMMENT '访问频率',
`alter_statistics_type` tinyint(1) DEFAULT '0' COMMENT '统计类型,0:巡检统计数据,1:报表处理数据',
`alter_time` tinyint(1) DEFAULT '1' COMMENT '时间类型,1:每分钟,2:每小时,3:每天,4:每周',
`alter_time` tinyint(1) DEFAULT '1' COMMENT '时间类型,1:每分钟,2:每小时',
PRIMARY KEY (`alter_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='告警参数表';

-- ----------------------------
-- Table structure for w3_apps_website
-- ----------------------------
DROP TABLE IF EXISTS `w3_apps_website`;
CREATE TABLE `w3_apps_website` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`apps_type` tinyint(1) NOT NULL COMMENT '关联的类型,0:关联Git,1:关联容器服务,2:关联云资产',
`apps_string_info` varchar(255) NOT NULL COMMENT '资产内容,字符串型',
`apps_number_info` bigint(20) NOT NULL COMMENT '资产内容,数字型',
`apps_website_id` bigint(20) NOT NULL COMMENT '关联站点的ID',
`apps_updatetime` datetime DEFAULT NULL COMMENT '更新时间',
`apps_createtime` datetime NOT NULL COMMENT '创建时间',
`apps_status` tinyint(1) DEFAULT '1' COMMENT '关联状态,0:取消,1:启用',
`apps_errormsg` varchar(255) DEFAULT NULL COMMENT '异常原因',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='应用和站点关联配置表';

-- ----------------------------
-- Table structure for w3_clouds_assets
-- ----------------------------
DROP TABLE IF EXISTS `w3_clouds_assets`;
CREATE TABLE `w3_clouds_assets` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`cloud_assets_id` varchar(32) DEFAULT NULL COMMENT '云资产实例ID',
`cloud_assets_zone` varchar(30) DEFAULT NULL COMMENT '云资产归属可用区',
`cloud_assets_regions` varchar(30) DEFAULT NULL COMMENT '云资产归属地区',
`cloud_assets_config` varchar(68) DEFAULT NULL COMMENT '云资产配置',
`cloud_assets_intranet_ip` varchar(13) DEFAULT NULL COMMENT '云资产内网IP',
`cloud_assets_public_ip` varchar(13) DEFAULT NULL COMMENT '云资产外网IP',
`cloud_assets_instance_name` varchar(58) DEFAULT NULL COMMENT '云资产实例别名',
`cloud_assets_fingerprint` varchar(255) DEFAULT NULL COMMENT '云资产指纹,如系统版本',
`cloud_assets_createtime` datetime DEFAULT NULL COMMENT '云资产创建时间',
`cloud_assets_expiredtime` datetime DEFAULT NULL COMMENT '云资产释放时间',
`cloud_assets_updatetime` datetime DEFAULT NULL COMMENT '云资产更新时间',
`cloud_assets_securitygroup_id` varchar(255) DEFAULT NULL COMMENT '云资产安全组ID',
`cloud_assets_status` tinyint(1) DEFAULT '1' COMMENT '云资产原生状态,0:停用,1:运行中',
`cloud_assets_security_status` tinyint(1) DEFAULT '0' COMMENT '云资产安全状态,0:待检查,1:相对安全,2:不安全',
`cloud_assets_types` tinyint(1) DEFAULT '0' COMMENT '云资产类型,0:云主机,1:域名,2:redis,3:mysql,4:MariaDB,5:SQLServer,6:MongoDB',
`cloud_assets_ports` varchar(6) DEFAULT '1' COMMENT '云资产端口号',
`cloud_assets_simple_name` varchar(255) DEFAULT '1' COMMENT '云资产通用字段',
`cloud_assets_delete` tinyint(1) DEFAULT '1' COMMENT '云资产删除,0:删除,1:正常',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='云资产数据';

-- ----------------------------
-- Table structure for w3_clouds_secrets
-- ----------------------------
DROP TABLE IF EXISTS `w3_clouds_secrets`;
CREATE TABLE `w3_clouds_secrets` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`cloud_secret_type` tinyint(1) NOT NULL COMMENT '云厂商类型,0:阿里云,1:腾讯云,2:华为云',
`cloud_access_key` varchar(255) NOT NULL COMMENT 'AccessKeyId',
`cloud_access_token` varchar(255) NOT NULL COMMENT 'AccessSecret',
`cloud_secret_status` tinyint(1) DEFAULT '1' COMMENT '状态,0:停用,1:启用',
`cloud_secret_delete` tinyint(1) DEFAULT '1' COMMENT '删除状态,0:删除,1:启用',
`cloud_secret_create_userid` bigint(20) NOT NULL COMMENT '创建的用户ID',
`cloud_secret_updatetime` datetime DEFAULT NULL COMMENT '更新时间',
`cloud_secret_createtime` datetime NOT NULL COMMENT '创建时间',
`cloud_secret_errormsg` varchar(255) DEFAULT NULL COMMENT '异常原因',
`cloud_secret_info` varchar(20) NOT NULL COMMENT '备注',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='云厂商配置';

-- ----------------------------
-- Table structure for w3_gitlab_config
-- ----------------------------
DROP TABLE IF EXISTS `w3_gitlab_config`;
CREATE TABLE `w3_gitlab_config` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`gitlab_config_addr` varchar(255) NOT NULL COMMENT 'gitlab/GITHUB主地址',
`gitlab_config_username` varchar(255) NOT NULL COMMENT '账号',
`gitlab_config_token` varchar(255) NOT NULL COMMENT 'token值',
`gitlab_config_password` varchar(255) DEFAULT '1' COMMENT '密码',
`gitlab_config_status` tinyint(1) DEFAULT '1' COMMENT '状态,0:停用,1:启用',
`gitlab_config_delete_status` tinyint(1) DEFAULT '1' COMMENT '删除状态,0:删除,1:启用',
`gitlab_create_userid` bigint(20) NOT NULL COMMENT '创建的用户ID',
`gitlab_config_updatetime` datetime DEFAULT NULL COMMENT '更新时间',
`gitlab_config_createtime` datetime NOT NULL COMMENT '创建时间',
`gitlab_config_errormsg` varchar(255) DEFAULT NULL COMMENT '异常原因',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='git配置';

-- ----------------------------
-- Table structure for w3_kubernetes_assets
-- ----------------------------
DROP TABLE IF EXISTS `w3_kubernetes_assets`;
CREATE TABLE `w3_kubernetes_assets` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`kubernetes_id` bigint(20) NOT NULL COMMENT '集群配置的ID',
`kubernetes_service_name` varchar(255) NOT NULL COMMENT '集群服务名称',
`kubernetes_namespace` varchar(255) NOT NULL COMMENT '集群namespace',
`kubernetes_tags` varchar(255) DEFAULT NULL COMMENT '集群服务的tags',
`kubernetes_service_updatetime` datetime DEFAULT NULL COMMENT '更新时间',
`kubernetes_service_createtime` datetime NOT NULL COMMENT '创建时间',
`kubernetes_service_delete` tinyint(1) DEFAULT '1' COMMENT '删除状态,0:删除,1:启用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='K8S集群抓取的资产数据';

-- ----------------------------
-- Table structure for w3_kubernetes_config
-- ----------------------------
DROP TABLE IF EXISTS `w3_kubernetes_config`;
CREATE TABLE `w3_kubernetes_config` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`kubernetes_config_kub` varchar(255) DEFAULT '1' COMMENT 'kubeconfig配置',
`kubernetes_config_status` tinyint(1) DEFAULT '1' COMMENT '状态,0:停用,1:启用',
`kubernetes_config_delete_status` tinyint(1) DEFAULT '1' COMMENT '删除状态,0:删除,1:启用',
`kubernetes_config_updatetime` datetime DEFAULT NULL COMMENT '更新时间',
`kubernetes_config_createtime` datetime NOT NULL COMMENT '创建时间',
`kubernetes_create_userid` bigint(20) NOT NULL COMMENT '创建的用户ID',
`kubernetes_config_errormsg` varchar(255) DEFAULT NULL COMMENT '异常原因',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='kubernetes配置';

-- ----------------------------
-- Table structure for w3_license
-- ----------------------------
Expand Down Expand Up @@ -118,6 +232,23 @@ CREATE TABLE `w3_secrets` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='授权秘钥管理';

-- ----------------------------
-- Table structure for w3_spider_config
-- ----------------------------
DROP TABLE IF EXISTS `w3_spider_config`;
CREATE TABLE `w3_spider_config` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`spider_config` tinyint(1) DEFAULT '0' COMMENT '抓取类型,0:云上资产,1:K8S数据,2:Git数据',
`spider_crontab_type` tinyint(1) DEFAULT '0' COMMENT '抓取频率,0:每分钟,1:每小时,2:每天',
`spider_id` bigint(20) NOT NULL COMMENT '对应的ID',
`spider_status` tinyint(1) DEFAULT '1' COMMENT '抓取状态,0:删除,1:启用',
`spider_updatetime` datetime DEFAULT NULL COMMENT '更新时间',
`spider_createtime` datetime NOT NULL COMMENT '创建时间',
`spider_delete` tinyint(1) DEFAULT '1' COMMENT '删除状态,0:删除,1:启用',
`spider_create_userid` bigint(20) NOT NULL COMMENT '创建的用户ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='抓取配置表';

-- ----------------------------
-- Table structure for w3_statistics
-- ----------------------------
Expand All @@ -127,8 +258,9 @@ CREATE TABLE `w3_statistics` (
`statis_uptime` datetime DEFAULT NULL COMMENT '创建/更新时间',
`statis_type` tinyint(1) DEFAULT '0' COMMENT '类型,0:审计日志数、1:识别攻击数、2:审计网络请求数,3:识别网络风险数',
`statis_counts` bigint(20) DEFAULT '0' COMMENT '统计数',
`website_id` bigint(20) NOT NULL COMMENT '站点归属ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='数据统计表';
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='数据统计表';

-- ----------------------------
-- Table structure for w3_users
Expand Down Expand Up @@ -262,7 +394,7 @@ CREATE TABLE `w3_website` (
`website_updatetime` datetime DEFAULT NULL COMMENT '更新时间',
`website_delete` tinyint(1) DEFAULT '1' COMMENT '逻辑删除,0:删除,1:可用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='站点管理';
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='站点管理';

-- ----------------------------
-- Table structure for w3_website_config
Expand Down Expand Up @@ -292,21 +424,33 @@ CREATE TABLE `w3_website_service` (
PRIMARY KEY (`id`,`website_types`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='站点管理.服务配置';

-- ----------------------------
-- Table structure for w3_webscan_base_config
-- ----------------------------
DROP TABLE IF EXISTS `w3_webscan_base_config`;
CREATE TABLE `w3_webscan_base_config` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`webscan_config_string_info` text COMMENT '配置内容(字符串型)',
`webscan_config_type` tinyint(1) DEFAULT '0' COMMENT '配置类型,0:爬取深度,1:扫描并发数,2:扫描请求useragent,3:扫描插件,4:云翻译',
`webscan_config_int_info` int(11) DEFAULT '0' COMMENT '配置内容(数字型)',
`webscan_config_updatetime` datetime DEFAULT NULL COMMENT '配置创建/更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='web扫描设置';


/**
* 初始化数据
*/
-- ----------------------------
-- 创建测试账号密码
-- License管理(默认都是社区版)
-- ----------------------------
INSERT INTO `w3a_soc`.`w3_users`(`user_name`,`user_password`,`user_createtime`)VALUES('admin','385ba8ba360a0efbf17c93784323f655', now());
INSERT INTO `w3a_soc`.`w3_license`(`id`, `license_type`, `lincese_info`) VALUES (1, 1, '社区版');
INSERT INTO `w3a_soc`.`w3_license`(`id`, `license_type`, `lincese_info`) VALUES (2, 2, '');
-- ----------------------------
-- 创建测试账号密码
-- ----------------------------
-- 创建统计数据
INSERT INTO `w3a_soc`.`w3_users`(`user_name`,`user_password`,`user_createtime`)VALUES('admin','385ba8ba360a0efbf17c93784323f655', now());
-- ----------------------------
INSERT INTO `w3a_soc`.`w3_statistics`(`id`, `statis_uptime`, `statis_type`, `statis_counts`) VALUES (1, NULL, 0, 0);
INSERT INTO `w3a_soc`.`w3_statistics`(`id`, `statis_uptime`, `statis_type`, `statis_counts`) VALUES (2, NULL, 1, 0);
INSERT INTO `w3a_soc`.`w3_statistics`(`id`, `statis_uptime`, `statis_type`, `statis_counts`) VALUES (3, NULL, 2, 0);
INSERT INTO `w3a_soc`.`w3_statistics`(`id`, `statis_uptime`, `statis_type`, `statis_counts`) VALUES (4, NULL, 3, 0);
-- ----------------------------
-- 创建测试规则数据
-- ----------------------------
Expand All @@ -322,4 +466,13 @@ INSERT INTO `w3a_soc`.`w3_web_attack_rules`(`id`, `rules_name`, `rules_level`, `
INSERT INTO `w3a_soc`.`w3_web_attack_rules`(`id`, `rules_name`, `rules_level`, `rules_trigger_count`, `rules_createtime`, `rules_updatetime`, `rules_status`, `rules_delete`, `rules_regex`) VALUES (10, '弱口令探测', 2, 0, now(), NULL, 1, 1, 'KD9pKShwYXNzd29yZHxwYXNzfHBhc3N3ZHxwd2R8cGR8dXNlcnB3ZHx1c2VycGFzc3x1c2VycGFzc3dkfHVzZXJwYXNzd29yZHxwYXNzX3dvcmR8dXNlcl9wYXNzd29yZHx1c2VyX3Bhc3MpXD0oP2kpKGFkbWlufGFkbWluMTIzfGFkbWluMTIzNDU2fDEyMzQ1NnxhZG1pbjg4OHxhZG1pbjg4ODh8dGVzdHwxMjM0fDEyM3x0ZXN0MTIzKQ==');
INSERT INTO `w3a_soc`.`w3_web_attack_rules`(`id`, `rules_name`, `rules_level`, `rules_trigger_count`, `rules_createtime`, `rules_updatetime`, `rules_status`, `rules_delete`, `rules_regex`) VALUES (11, 'XSS跨站脚本攻击', 2, 0, now(), NULL, 1, 1, 'XDwoP2kpc2NyaXB0XD4oP2kpYWxlcnRcKCguKilcKVw8XC8oP2kpc2NyaXB0XD4=');

-- ----------------------------
-- web漏洞扫描
-- ----------------------------
INSERT INTO `w3a_soc`.`w3_webscan_base_config`(`id`, `webscan_config_string_info`, `webscan_config_type`, `webscan_config_int_info`, `webscan_config_updatetime`) VALUES (1, 'allowed_methods, backdoors, backup_directories, backup_files, captcha, code_injection, code_injection_php_input_wrapper, code_injection_timing, common_admin_interfaces, common_directories, common_files, cookie_set_for_parent_domain, credit_card, csrf, cvs_svn_users, directory_listing, emails, file_inclusion, form_upload, hsts, htaccess_limit, html_objects, http_only_cookies, http_put, insecure_client_access_policy, insecure_cookies, insecure_cors_policy, insecure_cross_domain_policy_access, insecure_cross_domain_policy_headers, interesting_responses, ldap_injection, localstart_asp, mixed_resource, no_sql_injection, no_sql_injection_differential, origin_spoof_access_restriction_bypass, os_cmd_injection, os_cmd_injection_timing, password_autocomplete, path_traversal, private_ip, response_splitting, rfi, session_fixation, source_code_disclosure, sql_injection, sql_injection_differential, sql_injection_timing, ssn, trainer, unencrypted_password_forms, unvalidated_redirect, unvalidated_redirect_dom, webdav, x_frame_options, xpath_injection, xss, xss_dom, xss_dom_script_context, xss_event, xss_path, xss_script_context, xss_tag, xst, xxe', 3, 0, now());
INSERT INTO `w3a_soc`.`w3_webscan_base_config`(`id`, `webscan_config_string_info`, `webscan_config_type`, `webscan_config_int_info`, `webscan_config_updatetime`) VALUES (2, NULL, 0, 4, now());
INSERT INTO `w3a_soc`.`w3_webscan_base_config`(`id`, `webscan_config_string_info`, `webscan_config_type`, `webscan_config_int_info`, `webscan_config_updatetime`) VALUES (3, NULL, 1, 10, now());
INSERT INTO `w3a_soc`.`w3_webscan_base_config`(`id`, `webscan_config_string_info`, `webscan_config_type`, `webscan_config_int_info`, `webscan_config_updatetime`) VALUES (4, 'Baiduspider+(+http://www.baidu.com/search/spider.htm)', 2, 0, now());
INSERT INTO `w3a_soc`.`w3_webscan_base_config`(`id`, `webscan_config_string_info`, `webscan_config_type`, `webscan_config_int_info`, `webscan_config_updatetime`) VALUES (5, NULL, 4, 0, now());

SET FOREIGN_KEY_CHECKS = 1;
Loading

0 comments on commit fe0b4d9

Please sign in to comment.