1
0

精简提交历史记录

This commit is contained in:
okxlin
2023-11-09 19:15:01 +08:00
commit 691aa7aac9
1529 changed files with 800341 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
CONTAINER_NAME="uuwaf"
PANEL_APP_PORT_CONSOLE="4443"
PANEL_APP_PORT_HTTP="80"
PANEL_APP_PORT_HTTPS="443"
SUBNET_PREFIX="172.22.0"
TIME_ZONE="Asia/Shanghai"

40
apps/uuwaf/2.5.2/data.yml Normal file
View File

@@ -0,0 +1,40 @@
additionalProperties:
formFields:
- default: 80
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: 443
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelEn: HTTPS Port
labelZh: HTTPS端口
required: true
rule: paramPort
type: number
- default: 4443
edit: true
envKey: PANEL_APP_PORT_CONSOLE
labelEn: Console Port
labelZh: 控制台端口
required: true
rule: paramPort
type: number
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text
- default: 172.22.0
edit: true
envKey: SUBNET_PREFIX
labelEn: Subnet prefix
labelZh: 子网前缀
required: true
type: text

View File

@@ -0,0 +1,63 @@
version: '3'
services:
uuwaf:
build: ./docker/
ulimits:
nproc: 65535
nofile:
soft: 102400
hard: 102400
container_name: ${CONTAINER_NAME}-uuwaf
networks:
1panel-network:
wafnet:
ipv4_address: ${SUBNET_PREFIX}.3
ports:
- "${PANEL_APP_PORT_HTTP}:80"
- "${PANEL_APP_PORT_HTTPS}:443"
- "${PANEL_APP_PORT_CONSOLE}:4443"
volumes:
- ./uuwaf:/uuwaf
command: ["/run.sh"]
environment:
- TZ=${TIME_ZONE}
labels:
createdBy: "Apps"
links:
- wafdb
depends_on:
- wafdb
wafdb:
image: percona:8
container_name: ${CONTAINER_NAME}-wafdb
networks:
1panel-network:
wafnet:
ipv4_address: ${SUBNET_PREFIX}.7
#ports:
#- "127.0.0.1:4306:3306"
volumes:
- ./uuwaf/initdb:/docker-entrypoint-initdb.d
- wafdata:/var/lib/mysql
environment:
- TZ=${TIME_ZONE}
- INIT_ROCKSDB
- MYSQL_ROOT_PASSWORD=Safe3.WAF
labels:
createdBy: "Apps"
volumes:
wafdata:
networks:
1panel-network:
external: true
wafnet:
name: wafnet
driver: bridge
ipam:
driver: default
config:
- gateway: ${SUBNET_PREFIX:?SUBNET_PREFIX required}.1
subnet: ${SUBNET_PREFIX}.0/24

View File

@@ -0,0 +1,15 @@
#!/bin/sh
mkdir -p ./tmp
wget -O ./tmp/waf-community.tgz https://github.com/Safe3/uuWAF/releases/download/v2.5.2/waf-docker-community.v2.5.2.tgz
tar -zxvf ./tmp/waf-community.tgz -C ./tmp
cp -r ./tmp/waf-community/docker .
cp -r ./tmp/waf-community/uuwaf .
rm -r ./tmp
echo 附件已经下载成功

93
apps/uuwaf/README.md Normal file
View File

@@ -0,0 +1,93 @@
# 使用说明
## 1. 商店安装应用
填写参数,点击安装,这里会报错,
这是正常的,因为必要附件未下载,进行下一步操作。
## 2. 执行脚本下载附件
终端执行以下命令下载所需附件,大致路径需要按需修改,脚本即在软件安装目录下
```
cd /opt/1panel/apps/local/uuwaf/uuwaf/sourcedownload.sh && \
chmod +x /opt/1panel/apps/local/uuwaf/uuwaf/sourcedownload.sh && \
bash /opt/1panel/apps/local/uuwaf/uuwaf/sourcedownload.sh
```
## 3. 重建应用
正确下载了附件后,点击重建应用,等待安装成功。
- 默认地址注意是`https`
- 默认账号密码
```
usernameadmin
passwordwafadmin
```
# 原始相关
# 南墙简介
[![GitHub stars](https://img.shields.io/github/stars/Safe3/uuWAF.svg?label=关注 南墙&style=for-the-badge)](https://github.com/Safe3/uuWAF)
[![Chat](https://img.shields.io/badge/Discuss-加入讨论组-7289da.svg?style=for-the-badge)](https://github.com/Safe3/uuWAF/discussions)
> **南墙**WEB应用防火墙简称`uuWAF`一款社区驱动的免费、高性能、高扩展顶级Web应用和API安全防护产品。
![](http://waf.uusec.com/_media/waf.png)
🏠安装及使用请访问官网: https://waf.uusec.com/
:heavy_exclamation_mark:注意:南墙 暂不开源直接下载编译好的二进制文件安装即可github仓库内主要为社区贡献的规则每次 uuWAF 发布将自动更新。
## :dart: 技术优势
- :libra: 先进语义引擎
南墙采用业界领先的`SQL、XSS、RCE、LFI` 4种基于语义分析的检测引擎结合多种深度解码引擎可对`base64、json、form-data`等HTTP内容真实还原从而有效抵御各种绕过WAF的攻击方式并且相比传统正则匹配具备准确率高、误报率低、效率高等特点管理员无需维护庞杂的规则库即可拦截多种攻击类型。
- :ophiuchus: 智能0day防御
南墙创新性的运用机器学习技术,使用**异常检测算法**对http正常与攻击流量进行区分识别并对正常流量进行白名单威胁建模。通过**机器学习算法**自动学习正常流量中的参数特征并转化成对应的参数白名单规则库可以在面对各种突发0day漏洞时无需添加规则即可拦截攻击免除网站管理者一出现漏洞就需挑灯夜战升级的痛苦。
- :gemini: 高级规则引擎
南墙积极运用`nginx``luajit`的高性能、高灵活性特点除了提供对普通用户友好性较好的传统规则创建模式还提供了高扩展性、高灵活性的lua脚本规则编写功能使得有一定编程功底的高级安全管理员可以创造出一系列传统WAF所不能实现的高级漏洞防护规则用户可以编写一系列插件来扩展WAF现有功能。从而使得在拦截一些复杂漏洞时可以更加得心应手。
## :rocket: 快速进阶
南墙为你提供了强大灵活的扩展和安全规则的编写API在管理后台发布后所有规则无需重启立即生效远超市面上大部分免费WAF产品如`ModSecurity`,规则展示如下:
![](http://waf.uusec.com/_media/rule.png)
🏠请访问官网: https://waf.uusec.com/ 下载 南墙WAF使用说明书 了解规则API详情
## :gift_heart: 贡献分享
参照: https://waf.uusec.com/#/guide/contribute
## :kissing_heart: 加入讨论
欢迎各位就 南墙 的各种bug或功能需求及使用问题在如下渠道参与讨论
- 问题提交https://github.com/Safe3/uuWAF/issues
- 讨论社区https://github.com/Safe3/uuWAF/discussions
- 官方 QQ 群11500614
- 官方微信群:微信扫描以下二维码加入
<img src="https://waf.uusec.com/_media/weixin.jpg" alt="微信群" height="200px" />

20
apps/uuwaf/data.yml Normal file
View File

@@ -0,0 +1,20 @@
name: 南墙 Web 应用防火墙(uuWAF)
tags:
- 工具
title: 免费、高性能、高扩展顶级Web应用和API安全防护产品
type: 工具
description: 免费、高性能、高扩展顶级Web应用和API安全防护产品
additionalProperties:
key: uuwaf
name: 南墙 Web 应用防火墙(uuWAF)
tags:
- Tool
shortDescZh: 免费、高性能、高扩展顶级Web应用和API安全防护产品
shortDescEn: High-performance, highly scalable, top-tier web application and API security protection product
type: tool
crossVersionUpdate: true
limit: 1
recommend: 0
website: https://waf.uusec.com
github: https://github.com/Safe3/uuWAF
document: https://waf.uusec.com

BIN
apps/uuwaf/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB