272e712eaa
fix: Resolve proxy connectivity and port selection issues
kobaltgit
2026-04-05 23:29:13 +03:00
89825de812
find_smart_port() { local port=443 if ss -tlnp | grep -qE ":${port}\b"; then echo -e " ${YELLOW}ℹ Порт 443 занят (Hiddify/Nginx). Пробую 8443...${NC}" >&2 port=8443 if ss -tlnp | grep -qE ":${port}\b"; then port=$(( (RANDOM % 10000) + 20000 )) echo -e " ${YELLOW}ℹ Порт 8443 тоже занят. Выбран случайный: $port${NC}" >&2 fi fi echo "$port" }
kobaltgit
2026-04-05 23:10:37 +03:00
1747e8e969
new file: README.md modified: bot.py
kobaltgit
2026-04-05 22:16:01 +03:00