Skip to content

jakkaret/waf_project

Repository files navigation

🛡️ WAF Automated - Web Application Firewall Management System

ระบบ Dashboard สำหรับจัดการและติดตามการทำงานของ Web Application Firewall (WAF) ที่ใช้ ModSecurity + ML


🚀 การติดตั้ง

1️⃣ Clone Repository

git clone <repository-url>
cd waf_project

2️⃣ ติดตั้ง Python Dependencies

cd dashboard/backend
pip3 install -r requirements.txt

ลง FastAPI และ Uni:

cd dashboard/backend
python3 -m pip install fastapi uvicorn
หรือ 
sudo apt update
sudo apt install python3-fastapi python3-uvicorn

3️⃣ เริ่มต้น WAF Container

cd waf_project
docker-compose up -d

ตรวจสอบสถานะ:

docker-compose ps

4️⃣ เริ่มต้น Dashboard

cd dashboard/backend
เข้า environment 
windows
.venv\Scripts\activate

linux
source .venv/bin/activate

python3 main.py
หรือ
uvicorn main:app -​-reload 

📖 การใช้งาน

เข้าใช้งานระบบ

Service URL คำอธิบาย
Dashboard http://localhost:8000 หน้าแรก Overview
API Docs http://localhost:8000/docs Swagger UI
WAF http://localhost:8080 ModSecurity WAF (Reverse Proxy)
DVWA http://localhost:8080 Vulnerable Web App (ทดสอบ)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors