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-invade Phase 2 on a high-value target.
  • source-leak-hunt found an error_log file with HTTP 200.
  • Target has PHP (WordPress, Laravel, custom PHP) with display_errors possibly enabled.
  • You need server-side context (paths, DB structure) before attempting exploitation.

Prerequisites

  • terminal tool with curl, grep, python3.
  • Target URL with potential error_log at common paths.
  • Disk space: error logs can be multi-GB. Use curl -r for range requests on large files.

How to Run

Installs
4
GitHub Stars
11
First Seen
Oct 12, 2026