diff --git a/en/kejilion.sh b/en/kejilion.sh index e24ed30..322c45f 100644 --- a/en/kejilion.sh +++ b/en/kejilion.sh @@ -1733,7 +1733,7 @@ nginx_waf() { wget -O /home/web/nginx.conf "${gh_proxy}raw.githubusercontent.com/kejilion/nginx/main/nginx10.conf" fi - # Decide to turn on or off WAF according to the mode parameter + # Decide to turn on or off WAF according to mode parameters if [ "$mode" == "on" ]; then # Turn on WAF: Remove comments sed -i 's|# load_module /etc/nginx/modules/ngx_http_modsecurity_module.so;|load_module /etc/nginx/modules/ngx_http_modsecurity_module.so;|' /home/web/nginx.conf > /dev/null 2>&1 @@ -3038,6 +3038,11 @@ f2b_install_sshd() { start fail2ban enable fail2ban + if command -v dnf &>/dev/null; then + cd /etc/fail2ban/jail.d/ + curl -sS -O ${gh_proxy}raw.githubusercontent.com/kejilion/config/main/fail2ban/centos-ssh.conf + fi + } f2b_sshd() { @@ -5946,7 +5951,7 @@ ssh_manager() { while true; do clear echo "SSH Remote Connection Tool" - echo "Can be connected to other Linux systems via SSH" + echo "Can connect to other Linux systems via SSH" echo "------------------------" list_connections echo "1. Create a new connection 2. Use a connection 3. Delete a connection" @@ -8017,7 +8022,7 @@ linux_ldnmp() { echo "Redis port: 6379" echo "" echo "Website url: https://$yuming" - echo "Background login path: /admin" + echo "Backend login path: /admin" echo "------------------------" echo "Username: admin" echo "Password: admin" diff --git a/jp/kejilion.sh b/jp/kejilion.sh index 11e2710..c93e5ae 100644 --- a/jp/kejilion.sh +++ b/jp/kejilion.sh @@ -1733,7 +1733,7 @@ nginx_waf() { wget -O /home/web/nginx.conf "${gh_proxy}raw.githubusercontent.com/kejilion/nginx/main/nginx10.conf" fi - # モードパラメーターに従ってWAFをオンまたはオフにすることにしました + # モードパラメーターに従ってWAFをオンまたはオフにすることを決定します if [ "$mode" == "on" ]; then # WAFをオンにしてください:コメントを削除します sed -i 's|# load_module /etc/nginx/modules/ngx_http_modsecurity_module.so;|load_module /etc/nginx/modules/ngx_http_modsecurity_module.so;|' /home/web/nginx.conf > /dev/null 2>&1 @@ -3038,6 +3038,11 @@ f2b_install_sshd() { start fail2ban enable fail2ban + if command -v dnf &>/dev/null; then + cd /etc/fail2ban/jail.d/ + curl -sS -O ${gh_proxy}raw.githubusercontent.com/kejilion/config/main/fail2ban/centos-ssh.conf + fi + } f2b_sshd() { @@ -8017,7 +8022,7 @@ linux_ldnmp() { echo "Redisポート:6379" echo "" echo "ウェブサイトURL:https://$yuming" - echo "バックグラウンドログインパス: /admin" + echo "バックエンドログインパス: /admin" echo "------------------------" echo "ユーザー名:admin" echo "パスワード:管理者" @@ -12926,7 +12931,7 @@ EOF local current_hostname=$(uname -n) echo -e "現在のホスト名:${gl_huang}$current_hostname${gl_bai}" echo "------------------------" - read -e -p "新しいホスト名を入力してください(0を入力して終了してください):" new_hostname + read -e -p "新しいホスト名を入力してください(出口に0を入力してください):" new_hostname if [ -n "$new_hostname" ] && [ "$new_hostname" != "0" ]; then if [ -f /etc/alpine-release ]; then # Alpine diff --git a/kr/kejilion.sh b/kr/kejilion.sh index 7aaf3e2..b7d69c9 100644 --- a/kr/kejilion.sh +++ b/kr/kejilion.sh @@ -57,7 +57,7 @@ CheckFirstRun_true() { -# 기능 매장 지점 정보를 수집하는 기능, 현재 스크립트 버전 번호, 사용 시간, 시스템 버전, CPU 아키텍처, 기계 국가 및 사용자가 사용하는 기능 이름을 기록합니다. 그들은 절대적으로 민감한 정보를 포함하지 않습니다. 제발 나를 믿으세요! +# 기능 매장 지점 정보를 수집하는 기능, 현재 스크립트 버전 번호, 사용 시간, 시스템 버전, CPU 아키텍처, 컴퓨터 국가 및 사용자가 사용하는 기능 이름을 기록합니다. 그들은 절대적으로 민감한 정보를 포함하지 않습니다. 제발 나를 믿으세요! # 이 기능을 설계 해야하는 이유는 무엇입니까? 목적은 사용자가 사용하는 기능을 더 잘 이해하고 기능을 더욱 최적화하여 사용자 요구를 충족시키는 더 많은 기능을 시작하는 것입니다. # 전체 텍스트의 경우 Send_Stats 기능 호출 위치, 투명 및 오픈 소스를 검색 할 수 있으며 우려 사항이 있으면 사용을 거부 할 수 있습니다. @@ -3038,6 +3038,11 @@ f2b_install_sshd() { start fail2ban enable fail2ban + if command -v dnf &>/dev/null; then + cd /etc/fail2ban/jail.d/ + curl -sS -O ${gh_proxy}raw.githubusercontent.com/kejilion/config/main/fail2ban/centos-ssh.conf + fi + } f2b_sshd() { @@ -8017,7 +8022,7 @@ linux_ldnmp() { echo "Redis Port : 6379" echo "" echo "웹 사이트 URL : https : //$yuming" - echo "백그라운드 로그인 경로 : /admin" + echo "백엔드 로그인 경로 : /admin" echo "------------------------" echo "사용자 이름 : 관리자" echo "비밀번호 : 관리자" diff --git a/tw/kejilion.sh b/tw/kejilion.sh index 0f24849..05b2db1 100644 --- a/tw/kejilion.sh +++ b/tw/kejilion.sh @@ -3038,6 +3038,11 @@ f2b_install_sshd() { start fail2ban enable fail2ban + if command -v dnf &>/dev/null; then + cd /etc/fail2ban/jail.d/ + curl -sS -O ${gh_proxy}raw.githubusercontent.com/kejilion/config/main/fail2ban/centos-ssh.conf + fi + } f2b_sshd() {