katana icon indicating copy to clipboard operation
katana copied to clipboard

Option to write error logs to file

Open BrownBearSec opened this issue 3 years ago • 0 comments

Please describe your feature request:

The ability to log errors for the host/endpoint katana failed to connect, similar to nuclei (-elog)

Describe the use case of this feature:

Useful for finding subdomain takeovers, and broken link hijacking.

Option:

   -elog, -error-log string  file to write sent requests error log
katana -u https://example.com -elog errors
cat errors | jq .
{
  "timestamp": "2022-11-05T22:33:27.745815+05:30",
  "endpoint": "https://www.iadsdsana.org/domains/example",
  "source": "https://example.com",
  "error": "could not resolve, max retries exceeded"
}

BrownBearSec avatar Nov 29 '22 16:11 BrownBearSec