error-log-mining
Installation
SKILL.md
Error Log Mining Skill
Discover and mine exposed PHP error_log files for server paths, database credentials, SQL queries, API keys, email addresses, and internal IP addresses. Error logs on misconfigured WordPress sites routinely expose the full server directory structure, active database queries, and sometimes hardcoded credentials from stack traces. Confirmed on wines.com where a 1.7MB error_log revealed 47 server paths and 879 SQL queries.
When to Use
- Running
deep-invadePhase 2 on a high-value target. source-leak-huntfound anerror_logfile with HTTP 200.- Target has PHP (WordPress, Laravel, custom PHP) with
display_errorspossibly enabled. - You need server-side context (paths, DB structure) before attempting exploitation.
Prerequisites
terminaltool with curl, grep, python3.- Target URL with potential error_log at common paths.
- Disk space: error logs can be multi-GB. Use
curl -rfor range requests on large files.