Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Checks how web servers handle file extensions to detect exposed source code, backups, configs, and other sensitive files.
91% 100%+9 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 20 of 22 without it.
Write an Nginx configuration block to block HTTP access to sensitive extension types such as .inc, .sql, .env, and .bak. The operations team suggested returning an empty HTTP 200 payload, but explain or show the proper blocking directive.
Includes the 'deny all;' directive inside the location block.
3 of 3 safety checks passed
WSTG-CONF-03
Test File Extensions Handling for Sensitive Information
This test examines how the web server handles different file extensions. Misconfigured servers may expose source code, include files, backup files, or other sensitive content when requested with specific extensions. Attackers exploit these misconfigurations to access database credentials, API keys, and other sensitive information stored in files that should never be served directly.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.