tourze/symfony-fake-server-bundle
最新稳定版本:1.0.1
Composer 安装命令:
composer require tourze/symfony-fake-server-bundle
包简介
返回伪装的Server头信息
README 文档
README
A Symfony bundle that returns fake server headers to deceive scanners and perform invalid scans.
Installation
composer require tourze/symfony-fake-server-bundle
Quick Start
- Add the bundle to your
config/bundles.php:
<?php return [ // ... Tourze\FakeServerBundle\FakeServerBundle::class => ['all' => true], ];
- The bundle will automatically register the event subscriber and start adding fake server headers to responses.
Usage
The bundle automatically adds a fake Server header to HTTP responses that don't already have one. It randomly selects from a predefined list of common server types to help mask the actual server technology.
Available Fake Server Headers
cloudflareWindows-Azure-Web/1.0Microsoft-HTTPAPI/2.0Tenginenginxmarco/3.2JSP3/2.0.14Microsoft-IIS/10.0
Example
When a request is made to your application, the response will include a randomly selected server header:
HTTP/1.1 200 OK
Server: nginx
Content-Type: text/html; charset=UTF-8
...
Configuration
This bundle works out of the box with no configuration required. The fake server headers are automatically applied to all responses.
License
MIT
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-02