用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-apache24-2-5命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-apache24-2.5 |
| description | Ensure the Autoindex Module Is Disabled |
| category | cis-apache |
| version | 2.3.0 |
| author | cyberstrike-official |
| tags | ["cis","apache","linux","modules","autoindex"] |
| cis_id | 2.5 |
| cis_benchmark | CIS Apache HTTP Server 2.4 Benchmark v2.3.0 |
| tech_stack | ["linux","apache"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
The Apache autoindex module automatically generates web page listing the contents of directories on the server, typically used so that an index.html does not have to be generated.
Automated directory listings should not be enabled as it will also reveal information helpful to an attacker such as naming conventions and directory paths. Directory listings may also reveal files that were not intended to be revealed.
Perform the following to determine if the module is enabled.
Run the httpd server with the -M option to list enabled modules:
# httpd -M | grep autoindex_module
Note: If the module is correctly disabled, there will be no output when executing the above command.
Perform either one of the following to disable the mod_autoindex module:
./configure script with the --disable-autoindex script options
$ cd $DOWNLOAD_HTTPD$ ./configure -disable-autoindexmod_autoindex from the httpd.conf file.
## LoadModule autoindex_module modules/mod_autoindex.soThe mod_autoindex module IS enabled with a default source build.