File tree Expand file tree Collapse file tree 7 files changed +15
-8
lines changed
Expand file tree Collapse file tree 7 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1111 10.无监督机器学习、自主生成对抗规则
1212 .....
1313
14- 二、编译运行
14+ 二、编译运行,测试推荐CentOS7
1515 1. 安装openssl和libpcre库
1616 CentOS :
1717 yum install openssl openssl-devel
4242
4343
4444 2.机器学习/自主对抗规则测试方法:
45+ 机器学习原理:https://www.freebuf.com/articles/web/226418.html
4546
4647 机器学习是核心,但采集样本需要一定时间,为了方便测试,默认了一条aihttps.html对抗规则:
4748 如果访问https://serverip/aihttps.html?id=123采集到的样本大于99%都是这种形态,那么下面的网址都将产生攻击报警:
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ daemon = off # 关闭后台模式,方便调试
1414pem-file = " server.pem"
1515
1616
17- # 为了安全,请设置运行的用户组和权限 ,默认nobody,请确认系统存在有nobody,没有请换成root。
17+ # 为了安全,请设置降低运行的用户组和权限 ,默认nobody,请确认系统存在有nobody,没有请换成root,设置错误会导致进程不能启动 。
1818# user and group
1919user = " nobody"
2020group = " nobody"
Original file line number Diff line number Diff line change 99 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1010 * GNU General Public License for more details.
1111 *
12- * For more ,please contact QQ/wechat:4108863 mail:4108863@qq.com
13- * http://www.hihttps.com
12+ * For more ,please contact QQ/wechat:4108863 mail:4108863@qq.com wechat:httpwaf
13+ * http://www.hihttps.com http://59.110.1.135/
1414 */
1515
1616
Original file line number Diff line number Diff line change 11/**
2- * configuration.c
2+ * configuration.c by wechat:httpwaf
33 *
44 */
55
Original file line number Diff line number Diff line change 99 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1010 * GNU General Public License for more details.
1111 *
12- * For more ,please contact QQ/wechat:4108863 mail:4108863@qq.com
12+ * For more ,please contact QQ/wechat:4108863 mail:4108863@qq.com wechat:httpwaf
13+ * http://www.hihttps.com http://59.110.1.135/
1314 */
1415
1516
17+
1618#include "config.h"
1719
1820#include <sys/socket.h>
Original file line number Diff line number Diff line change 99 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1010 * GNU General Public License for more details.
1111 *
12- * For more ,please contact QQ/wechat:4108863 mail:4108863@qq.com
12+ * For more ,please contact QQ/wechat:4108863 mail:4108863@qq.com wechat:httpwaf
13+ * http://www.hihttps.com http://59.110.1.135/
1314 */
1415
1516
17+
1618#include <sys/select.h>
1719#include <sys/socket.h>
1820
Original file line number Diff line number Diff line change 99 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1010 * GNU General Public License for more details.
1111 *
12- * For more ,please contact QQ/wechat:4108863 mail:4108863@qq.com
12+ * For more ,please contact QQ/wechat:4108863 mail:4108863@qq.com wechat:httpwaf
13+ * http://www.hihttps.com http://59.110.1.135/
1314 */
1415
16+
1517
1618
1719#include <stdlib.h>
You can’t perform that action at this time.
0 commit comments