From 0ea184f8e1902281f21b5ce58aef5b215c87c101 Mon Sep 17 00:00:00 2001 From: Jocay <1579649885@qq.com> Date: Mon, 28 Sep 2026 16:32:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .coveragerc | 0 .dockerignore | 0 .github/FUNDING.yml | 0 .github/workflows/python.yml | 0 .gitignore | 0 AGENTS.md | 0 CLAUDE.md | 0 Dockerfile | 0 LICENSE | 0 MANIFEST.in | 0 README.md | 0 README.rst | 0 docker-compose.yml | 5 ++--- preview/login.png | Bin preview/terminal.png | Bin requirements.txt | 0 run.py | 0 setup.cfg | 0 setup.py | 0 tests/__init__.py | 0 tests/data/cert.crt | 0 tests/data/cert.key | 0 tests/data/fonts/.gitignore | 0 tests/data/fonts/fake-font | 0 tests/data/known_hosts_example | 0 tests/data/known_hosts_example2 | 0 tests/data/known_hosts_example3 | 0 tests/data/test_ed25519.key | 0 tests/data/test_ed25519_password.key | 0 tests/data/test_known_hosts | 0 tests/data/test_new_dsa.key | 0 tests/data/test_new_rsa_password.key | 0 tests/data/test_rsa.key | 0 tests/data/test_rsa_password.key | 0 tests/data/user_rsa_key | 0 tests/sshserver.py | 0 tests/test_app.py | 0 tests/test_auth.py | 0 tests/test_auth_app.py | 0 tests/test_handler.py | 0 tests/test_main.py | 0 tests/test_policy.py | 0 tests/test_settings.py | 0 tests/test_storage.py | 0 tests/test_utils.py | 0 tests/utils.py | 0 webssh/__init__.py | 0 webssh/_version.py | 0 webssh/auth.py | 0 webssh/crypto.py | 0 webssh/handler.py | 0 webssh/main.py | 0 webssh/policy.py | 0 webssh/settings.py | 0 webssh/static/css/app.css | 0 webssh/static/css/bootstrap.min.css | 0 webssh/static/css/fonts/.gitignore | 0 webssh/static/css/fullscreen.min.css | 0 webssh/static/css/xterm.min.css | 0 webssh/static/img/favicon.png | Bin webssh/static/js/bootstrap.min.js | 0 webssh/static/js/jquery.min.js | 0 webssh/static/js/main.js | 0 webssh/static/js/popper.min.js | 0 webssh/static/js/xterm-addon-fit.min.js | 0 webssh/static/js/xterm.min.js | 0 webssh/storage.py | 0 webssh/templates/index.html | 0 webssh/templates/login.html | 0 webssh/utils.py | 0 webssh/worker.py | 0 71 files changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 .coveragerc mode change 100644 => 100755 .dockerignore mode change 100644 => 100755 .github/FUNDING.yml mode change 100644 => 100755 .github/workflows/python.yml mode change 100644 => 100755 .gitignore mode change 100644 => 100755 AGENTS.md mode change 100644 => 100755 CLAUDE.md mode change 100644 => 100755 Dockerfile mode change 100644 => 100755 LICENSE mode change 100644 => 100755 MANIFEST.in mode change 100644 => 100755 README.md mode change 100644 => 100755 README.rst mode change 100644 => 100755 docker-compose.yml mode change 100644 => 100755 preview/login.png mode change 100644 => 100755 preview/terminal.png mode change 100644 => 100755 requirements.txt mode change 100644 => 100755 run.py mode change 100644 => 100755 setup.cfg mode change 100644 => 100755 setup.py mode change 100644 => 100755 tests/__init__.py mode change 100644 => 100755 tests/data/cert.crt mode change 100644 => 100755 tests/data/cert.key mode change 100644 => 100755 tests/data/fonts/.gitignore mode change 100644 => 100755 tests/data/fonts/fake-font mode change 100644 => 100755 tests/data/known_hosts_example mode change 100644 => 100755 tests/data/known_hosts_example2 mode change 100644 => 100755 tests/data/known_hosts_example3 mode change 100644 => 100755 tests/data/test_ed25519.key mode change 100644 => 100755 tests/data/test_ed25519_password.key mode change 100644 => 100755 tests/data/test_known_hosts mode change 100644 => 100755 tests/data/test_new_dsa.key mode change 100644 => 100755 tests/data/test_new_rsa_password.key mode change 100644 => 100755 tests/data/test_rsa.key mode change 100644 => 100755 tests/data/test_rsa_password.key mode change 100644 => 100755 tests/data/user_rsa_key mode change 100644 => 100755 tests/sshserver.py mode change 100644 => 100755 tests/test_app.py mode change 100644 => 100755 tests/test_auth.py mode change 100644 => 100755 tests/test_auth_app.py mode change 100644 => 100755 tests/test_handler.py mode change 100644 => 100755 tests/test_main.py mode change 100644 => 100755 tests/test_policy.py mode change 100644 => 100755 tests/test_settings.py mode change 100644 => 100755 tests/test_storage.py mode change 100644 => 100755 tests/test_utils.py mode change 100644 => 100755 tests/utils.py mode change 100644 => 100755 webssh/__init__.py mode change 100644 => 100755 webssh/_version.py mode change 100644 => 100755 webssh/auth.py mode change 100644 => 100755 webssh/crypto.py mode change 100644 => 100755 webssh/handler.py mode change 100644 => 100755 webssh/main.py mode change 100644 => 100755 webssh/policy.py mode change 100644 => 100755 webssh/settings.py mode change 100644 => 100755 webssh/static/css/app.css mode change 100644 => 100755 webssh/static/css/bootstrap.min.css mode change 100644 => 100755 webssh/static/css/fonts/.gitignore mode change 100644 => 100755 webssh/static/css/fullscreen.min.css mode change 100644 => 100755 webssh/static/css/xterm.min.css mode change 100644 => 100755 webssh/static/img/favicon.png mode change 100644 => 100755 webssh/static/js/bootstrap.min.js mode change 100644 => 100755 webssh/static/js/jquery.min.js mode change 100644 => 100755 webssh/static/js/main.js mode change 100644 => 100755 webssh/static/js/popper.min.js mode change 100644 => 100755 webssh/static/js/xterm-addon-fit.min.js mode change 100644 => 100755 webssh/static/js/xterm.min.js mode change 100644 => 100755 webssh/storage.py mode change 100644 => 100755 webssh/templates/index.html mode change 100644 => 100755 webssh/templates/login.html mode change 100644 => 100755 webssh/utils.py mode change 100644 => 100755 webssh/worker.py diff --git a/.coveragerc b/.coveragerc old mode 100644 new mode 100755 diff --git a/.dockerignore b/.dockerignore old mode 100644 new mode 100755 diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/AGENTS.md b/AGENTS.md old mode 100644 new mode 100755 diff --git a/CLAUDE.md b/CLAUDE.md old mode 100644 new mode 100755 diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/MANIFEST.in b/MANIFEST.in old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/README.rst b/README.rst old mode 100644 new mode 100755 diff --git a/docker-compose.yml b/docker-compose.yml old mode 100644 new mode 100755 index 05ece5e..3801988 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,11 +5,10 @@ services: args: PYTHON_IMAGE: ${PYTHON_IMAGE:-docker.io/python:3.12-slim} restart: unless-stopped - ports: - - "8888:8888" + network_mode: host environment: # extra wssh options, e.g. "--maxconn=50 --tdstream=172.18.0.1" - WEBSSH_OPTS: ${WEBSSH_OPTS:-} + WEBSSH_OPTS: ${WEBSSH_OPTS:---address=} # set this to keep saved passwords readable across container rebuilds # when the data volume is recreated; otherwise a secret is generated # in /data on first start diff --git a/preview/login.png b/preview/login.png old mode 100644 new mode 100755 diff --git a/preview/terminal.png b/preview/terminal.png old mode 100644 new mode 100755 diff --git a/requirements.txt b/requirements.txt old mode 100644 new mode 100755 diff --git a/run.py b/run.py old mode 100644 new mode 100755 diff --git a/setup.cfg b/setup.cfg old mode 100644 new mode 100755 diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 diff --git a/tests/__init__.py b/tests/__init__.py old mode 100644 new mode 100755 diff --git a/tests/data/cert.crt b/tests/data/cert.crt old mode 100644 new mode 100755 diff --git a/tests/data/cert.key b/tests/data/cert.key old mode 100644 new mode 100755 diff --git a/tests/data/fonts/.gitignore b/tests/data/fonts/.gitignore old mode 100644 new mode 100755 diff --git a/tests/data/fonts/fake-font b/tests/data/fonts/fake-font old mode 100644 new mode 100755 diff --git a/tests/data/known_hosts_example b/tests/data/known_hosts_example old mode 100644 new mode 100755 diff --git a/tests/data/known_hosts_example2 b/tests/data/known_hosts_example2 old mode 100644 new mode 100755 diff --git a/tests/data/known_hosts_example3 b/tests/data/known_hosts_example3 old mode 100644 new mode 100755 diff --git a/tests/data/test_ed25519.key b/tests/data/test_ed25519.key old mode 100644 new mode 100755 diff --git a/tests/data/test_ed25519_password.key b/tests/data/test_ed25519_password.key old mode 100644 new mode 100755 diff --git a/tests/data/test_known_hosts b/tests/data/test_known_hosts old mode 100644 new mode 100755 diff --git a/tests/data/test_new_dsa.key b/tests/data/test_new_dsa.key old mode 100644 new mode 100755 diff --git a/tests/data/test_new_rsa_password.key b/tests/data/test_new_rsa_password.key old mode 100644 new mode 100755 diff --git a/tests/data/test_rsa.key b/tests/data/test_rsa.key old mode 100644 new mode 100755 diff --git a/tests/data/test_rsa_password.key b/tests/data/test_rsa_password.key old mode 100644 new mode 100755 diff --git a/tests/data/user_rsa_key b/tests/data/user_rsa_key old mode 100644 new mode 100755 diff --git a/tests/sshserver.py b/tests/sshserver.py old mode 100644 new mode 100755 diff --git a/tests/test_app.py b/tests/test_app.py old mode 100644 new mode 100755 diff --git a/tests/test_auth.py b/tests/test_auth.py old mode 100644 new mode 100755 diff --git a/tests/test_auth_app.py b/tests/test_auth_app.py old mode 100644 new mode 100755 diff --git a/tests/test_handler.py b/tests/test_handler.py old mode 100644 new mode 100755 diff --git a/tests/test_main.py b/tests/test_main.py old mode 100644 new mode 100755 diff --git a/tests/test_policy.py b/tests/test_policy.py old mode 100644 new mode 100755 diff --git a/tests/test_settings.py b/tests/test_settings.py old mode 100644 new mode 100755 diff --git a/tests/test_storage.py b/tests/test_storage.py old mode 100644 new mode 100755 diff --git a/tests/test_utils.py b/tests/test_utils.py old mode 100644 new mode 100755 diff --git a/tests/utils.py b/tests/utils.py old mode 100644 new mode 100755 diff --git a/webssh/__init__.py b/webssh/__init__.py old mode 100644 new mode 100755 diff --git a/webssh/_version.py b/webssh/_version.py old mode 100644 new mode 100755 diff --git a/webssh/auth.py b/webssh/auth.py old mode 100644 new mode 100755 diff --git a/webssh/crypto.py b/webssh/crypto.py old mode 100644 new mode 100755 diff --git a/webssh/handler.py b/webssh/handler.py old mode 100644 new mode 100755 diff --git a/webssh/main.py b/webssh/main.py old mode 100644 new mode 100755 diff --git a/webssh/policy.py b/webssh/policy.py old mode 100644 new mode 100755 diff --git a/webssh/settings.py b/webssh/settings.py old mode 100644 new mode 100755 diff --git a/webssh/static/css/app.css b/webssh/static/css/app.css old mode 100644 new mode 100755 diff --git a/webssh/static/css/bootstrap.min.css b/webssh/static/css/bootstrap.min.css old mode 100644 new mode 100755 diff --git a/webssh/static/css/fonts/.gitignore b/webssh/static/css/fonts/.gitignore old mode 100644 new mode 100755 diff --git a/webssh/static/css/fullscreen.min.css b/webssh/static/css/fullscreen.min.css old mode 100644 new mode 100755 diff --git a/webssh/static/css/xterm.min.css b/webssh/static/css/xterm.min.css old mode 100644 new mode 100755 diff --git a/webssh/static/img/favicon.png b/webssh/static/img/favicon.png old mode 100644 new mode 100755 diff --git a/webssh/static/js/bootstrap.min.js b/webssh/static/js/bootstrap.min.js old mode 100644 new mode 100755 diff --git a/webssh/static/js/jquery.min.js b/webssh/static/js/jquery.min.js old mode 100644 new mode 100755 diff --git a/webssh/static/js/main.js b/webssh/static/js/main.js old mode 100644 new mode 100755 diff --git a/webssh/static/js/popper.min.js b/webssh/static/js/popper.min.js old mode 100644 new mode 100755 diff --git a/webssh/static/js/xterm-addon-fit.min.js b/webssh/static/js/xterm-addon-fit.min.js old mode 100644 new mode 100755 diff --git a/webssh/static/js/xterm.min.js b/webssh/static/js/xterm.min.js old mode 100644 new mode 100755 diff --git a/webssh/storage.py b/webssh/storage.py old mode 100644 new mode 100755 diff --git a/webssh/templates/index.html b/webssh/templates/index.html old mode 100644 new mode 100755 diff --git a/webssh/templates/login.html b/webssh/templates/login.html old mode 100644 new mode 100755 diff --git a/webssh/utils.py b/webssh/utils.py old mode 100644 new mode 100755 diff --git a/webssh/worker.py b/webssh/worker.py old mode 100644 new mode 100755