gared / ether-scan
用于Etherpad实例的简单扫描器
v3.2.0
2024-06-09 17:05 UTC
Requires
- php: >=8.1
- ext-json: *
- elephantio/elephant.io: 4.3.*
- guzzlehttp/guzzle: ^7.8
- symfony/console: ^6.4
Requires (Dev)
- phpstan/phpstan: ^1.10
- dev-main
- v3.2.0
- v3.1.1
- v3.1.0
- v3.0.0
- v2.0.0
- 1.1.0
- v1.0.0
- dev-dependabot/composer/phpstan/phpstan-1.12.5
- dev-dependabot/github_actions/GuillaumeFalourd/assert-command-line-output-2.4
- dev-dependabot/composer/symfony/console-6.4.12
- dev-dependabot/composer/phpstan/phpstan-1.12.4
- dev-update_packages
- dev-dependabot/composer/elephantio/elephant.io-4.7.2
- dev-fix_pad_recognition
- dev-improvements
This package is auto-updated.
Last update: 2024-09-30 15:25:02 UTC
README
使用此工具扫描您的etherpad实例,以获得一些见解并测试是否存在任何配置错误。
此工具在做什么?
- 检查"服务器"标题,看是否返回了etherpad的版本
- 检查API版本(pad.example.com/api)
- 检查etherpad版本
- 检查垫是否公开可访问
- 检查服务器是否健康(pad.example.com/health)
- 检查是否可以使用默认凭据访问管理区域(pad.example.com/admin)
- 检查是否安装了任何(前端)插件
- 检查服务器是否长时间运行(pad.example.com/stats)
试试看
您可以在https://scanner.etherpad.org上试用此工具,它使用此库。
需求
您需要PHP 8.1或更高版本来运行此工具。
用法
Docker
直接下载并运行此Docker镜像以扫描您的实例
docker run --rm gared/ether-scan:main bin/console.php ether:scan https://:9001
克隆
克隆此存储库并安装依赖项
composer install
然后运行此命令以扫描您的实例
bin/console.php ether:scan https://:9001
Starting scan of api... ======================= [INFO] No revision in server header [INFO] api version: 1.3.0 Starting scan of a pad... ========================= [INFO] Package version: 1.9.7 [OK] Pads are publicly accessible [OK] Server is healthy [INFO] Version is 1.9.7 [INFO] Server running since: 2024-03-08T21:38:56+00:00 Starting scan of admin area... ============================== [OK] Admin area is not accessible with admin / admin [OK] Admin area is not accessible with admin / changeme1 [OK] Admin area is not accessible with user / changeme1 Starting scan of plugins... =========================== [INFO] No plugins found
Composer
您也可以使用Composer安装此工具
composer require gared/ether-scan