🧹 System Cleanup Server

ONLINE v2.0
Ubuntu/Linux + Windows/Windows Server — Docker + Kubernetes
Auto-refresh 30s
20.20.20.105:8080
SrvTLGApp
Windows 2022Server
2026-10-28 12:43:16
2
4/4 ✔
4/4 ✔
⚡ Quick Start — Ubuntu / Linux
  1. SSH vào Ubuntu server, đảm bảo có quyền sudo
  2. Chỉ phân tích (an toàn, không xóa gì):
    curl -s http://20.20.20.105:8080/analyze | sudo bash
  3. Cleanup Docker/K8s/Logs:
    curl -s http://20.20.20.105:8080/cleanup | sudo bash
  4. Toàn bộ quy trình (menu tương tác):
    curl -s http://20.20.20.105:8080/run | sudo bash
📦 Linux Scripts
⚠️ Luôn chạy /analyze trước để xem báo cáo trước khi cleanup.
🔍
01_analyze.sh
Phân tích: Docker resources, K8s pods, system logs, shell history, SSH traces, crontab. Xuất báo cáo /tmp/
🟢 An toàn — chỉ đọc
curl -s http://20.20.20.105:8080/analyze | sudo bash
🗑️
02_cleanup.sh
Xóa: Docker containers/images/volumes, K8s error pods, system logs, /tmp, APT/pip/npm cache. Xác nhận từng bước.
🟡 Trung bình — có xác nhận
curl -s http://20.20.20.105:8080/cleanup | sudo bash
🔒
03_secure_wipe.sh
Xóa dấu vết: shell history (shred), SSH known_hosts, auth logs, wtmp/btmp, crontab, ARP/DNS, Docker creds.
🔴 Cao — không phục hồi
curl -s http://20.20.20.105:8080/wipe | sudo bash
⚡
run_all.sh (Menu)
Menu tương tác: Analyze / Cleanup / Full pipeline. Phù hợp SSH interactive terminal.
🟡 Tùy chế độ chọn
curl -s http://20.20.20.105:8080/run | sudo bash
🔗 API Endpoints — Tất cả
Endpoint
Script / Mục đích
Platform
/analyze
01_analyze.sh — Phân tích Linux
bash 🐧
/cleanup
02_cleanup.sh — Cleanup Linux
bash 🐧
/wipe
03_secure_wipe.sh — Wipe Linux
bash 🐧
/run
run_all.sh — Menu Linux
bash 🐧
/analyze-win
01_analyze_windows.ps1 — Phân tích Windows
PS1 🪟
/cleanup-win
02_cleanup_windows.ps1 — Cleanup Windows
PS1 🪟
/wipe-win
03_secure_wipe_windows.ps1 — Wipe Windows
PS1 🪟
/run-win
run_all_windows.ps1 — Menu Windows
PS1 🪟
/health
Health check + script status (JSON)
GET
/
Dashboard này
GET
📋 Access Log (2 requests)
12:48:09 │ 20.20.20.100 → / (Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatibl)
12:46:07 │ 20.20.20.100 → /run-win (Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowe)