v1.2.0
projectdiscovery/katanav1.2.0Jul 23, 2025by dogancanbakir
AI Summary
Feature-rich release introducing custom output templating, path climbing for auto-discovering parent paths, and SDK improvements for more flexible parsing behavior. Includes enhanced network request capturing.
Key Highlights
- Added -output-template option for custom output formats
- Introduced -path-climb option for auto discovering parent paths
- Introduced OnSkipURL for more SDK control
- Improved network request capturing to include XHR, Fetch, and Script resources
- Replaced global parser state with instance-based parsers
New Features
- -output-template option for custom output formatting using templates
- -path-climb option to auto discover parent paths to crawl
- OnSkipURL callback for SDK behavior control
- Enhanced network request capturing (XHR, Fetch, Script)
Full Release Notes
## What's Changed
### 🎉 New Features
* Added `-output-template` option to allow users to define custom output formats using templates, providing flexibility in structuring results by @dwisiswant0 in https://github.com/projectdiscovery/katana/pull/1197
```console
$ katana -silent -u https://www.google.com/appserve/security-bugs/m2/new -ot "{{email}} - {{url}}"
for.someone.else@gmail.com - https://www.google.com/appserve/security-bugs/m2/new
```
* Introduced OnSkipURL to allow more control over SDK behavior by @dogancanbakir in https://github.com/projectdiscovery/katana/pull/1329
* Introduced `-path-climb` option to allow auto discovering parent paths to crawl by @dogancanbakir in https://github.com/projectdiscovery/katana/pull/1334
```console
$ katana -silent -u https://scanme.sh/test/path/to/file.html -path-climb
https://scanme.sh/test/path/to/file.html
https://scanme.sh/test/path
https://scanme.sh/test/path/to
https://scanme.sh/test
```
### 🐞 Bug Fixes
* Fixed DSL matcher by @dogancanbakir in https://github.com/projectdiscovery/katana/pull/1283
### Other Changes
* Replaced global parser state with instance-based parsers to enabling more flexible and isolated parsing behavior by @awerqo in https://github.com/projectdiscovery/katana/pull/1275
* Improved network request capturing to include XHR, Fetch, and Script resource types when extraction is enabled by @dwisiswant0 in https://github.com/projectdiscovery/katana/pull/1277
* Improved JavaScript file endpoint detection to better handle varying relative path formats, ensuring more accurate matching across a broader range of file paths. by @Autumn-27 in https://github.com/projectdiscovery/katana/pull/1242
* Improved error guarding for crawl session initialization by @dogancanbakir in https://github.com/projectdiscovery/katana/pull/1300
* Updated release test action to use composite action by @dogancanbakir in https://github.com/projectdiscovery/katana/pull/1308
## New Contributors
* @awerqo made their first contribution in https://github.com/projectdiscovery/katana/pull/1275
* @Autumn-27 made their first contribution in https://github.com/projectdiscovery/katana/pull/1242
**Full Changelog**: https://github.com/projectdiscovery/katana/compare/v1.1.3...v1.2.0