this repo has no description
at main 28 lines 1.1 kB view raw
1# wp-honeypot configuration 2# Copy to config.env and edit for your site. 3# Used by install.sh and honeypot-intel.sh. 4 5# --- Site identity (shown on fake login page) --- 6SITE_NAME="My WordPress Site" 7SITE_URL="https://example.com" 8 9# --- Log paths (on the target server) --- 10LOG_FILE="/var/log/wp-honeypot.log" 11INTEL_FILE="/var/log/wp-honeypot-intel.jsonl" 12STATE_DIR="/var/lib/wp-honeypot" 13 14# --- Tarpit behavior --- 15MAX_DELAY=30 # Max sleep() seconds per attempt 16 17# --- fail2ban thresholds --- 18F2B_MAXRETRY=20 # Attempts before ban 19F2B_FINDTIME=86400 # Window in seconds (24h) 20F2B_BANTIME=2592000 # Ban duration in seconds (30 days) 21 22# --- Deployment target (for install.sh and honeypot-intel.sh) --- 23# Local mode: leave TARGET_HOST empty, set WP_ROOT directly 24# Remote SSH mode: set TARGET_HOST (e.g., user@host) 25# Proxmox LXC mode: set TARGET_HOST and TARGET_VMID 26TARGET_HOST="" # e.g., "root@100.115.34.54" 27TARGET_VMID="" # e.g., "550" (Proxmox LXC container ID) 28WP_ROOT="/var/www/html" # WordPress document root on target