Skip to content

Commit 6253b22

Browse files
ehsandeepvbisbestnirohfelddependabot[bot]Mzack9999
authored
v1.2.2 (#1384)
* Add support to collecting and applying cookies while crawling * check for error creating jar * wrap the cookie updating with a mutex * feat: add option to disable unique content filter This commit adds a new command-line flag --disable-unique-filter (-duf) that allows users to disable the duplicate content filtering. This ensures all responses reach the OnResult callback regardless of content duplication. Fixes #1350 * chore(deps): bump github.com/projectdiscovery/retryablehttp-go (#1346) Bumps [github.com/projectdiscovery/retryablehttp-go](https://github.com/projectdiscovery/retryablehttp-go) from 1.0.118 to 1.0.119. - [Release notes](https://github.com/projectdiscovery/retryablehttp-go/releases) - [Commits](projectdiscovery/retryablehttp-go@v1.0.118...v1.0.119) --- updated-dependencies: - dependency-name: github.com/projectdiscovery/retryablehttp-go dependency-version: 1.0.119 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump golang from 1.24.2-alpine to 1.24.5-alpine (#1349) Bumps golang from 1.24.2-alpine to 1.24.5-alpine. --- updated-dependencies: - dependency-name: golang dependency-version: 1.24.5-alpine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump github.com/projectdiscovery/retryabledns (#1347) Bumps [github.com/projectdiscovery/retryabledns](https://github.com/projectdiscovery/retryabledns) from 1.0.103 to 1.0.105. - [Release notes](https://github.com/projectdiscovery/retryabledns/releases) - [Commits](projectdiscovery/retryabledns@v1.0.103...v1.0.105) --- updated-dependencies: - dependency-name: github.com/projectdiscovery/retryabledns dependency-version: 1.0.105 dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump github.com/projectdiscovery/fastdialer (#1354) Bumps [github.com/projectdiscovery/fastdialer](https://github.com/projectdiscovery/fastdialer) from 0.4.1 to 0.4.4. - [Release notes](https://github.com/projectdiscovery/fastdialer/releases) - [Commits](projectdiscovery/fastdialer@v0.4.1...v0.4.4) --- updated-dependencies: - dependency-name: github.com/projectdiscovery/fastdialer dependency-version: 0.4.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump github.com/projectdiscovery/wappalyzergo (#1355) Bumps [github.com/projectdiscovery/wappalyzergo](https://github.com/projectdiscovery/wappalyzergo) from 0.2.38 to 0.2.40. - [Release notes](https://github.com/projectdiscovery/wappalyzergo/releases) - [Commits](projectdiscovery/wappalyzergo@v0.2.38...v0.2.40) --- updated-dependencies: - dependency-name: github.com/projectdiscovery/wappalyzergo dependency-version: 0.2.40 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump github.com/projectdiscovery/dsl from 0.5.0 to 0.5.1 Bumps [github.com/projectdiscovery/dsl](https://github.com/projectdiscovery/dsl) from 0.5.0 to 0.5.1. - [Release notes](https://github.com/projectdiscovery/dsl/releases) - [Commits](projectdiscovery/dsl@v0.5.0...v0.5.1) --- updated-dependencies: - dependency-name: github.com/projectdiscovery/dsl dependency-version: 0.5.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump github.com/projectdiscovery/networkpolicy Bumps [github.com/projectdiscovery/networkpolicy](https://github.com/projectdiscovery/networkpolicy) from 0.1.18 to 0.1.20. - [Release notes](https://github.com/projectdiscovery/networkpolicy/releases) - [Commits](projectdiscovery/networkpolicy@v0.1.18...v0.1.20) --- updated-dependencies: - dependency-name: github.com/projectdiscovery/networkpolicy dependency-version: 0.1.20 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump github.com/projectdiscovery/wappalyzergo Bumps [github.com/projectdiscovery/wappalyzergo](https://github.com/projectdiscovery/wappalyzergo) from 0.2.40 to 0.2.41. - [Release notes](https://github.com/projectdiscovery/wappalyzergo/releases) - [Commits](projectdiscovery/wappalyzergo@v0.2.40...v0.2.41) --- updated-dependencies: - dependency-name: github.com/projectdiscovery/wappalyzergo dependency-version: 0.2.41 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump github.com/projectdiscovery/fastdialer Bumps [github.com/projectdiscovery/fastdialer](https://github.com/projectdiscovery/fastdialer) from 0.4.4 to 0.4.5. - [Release notes](https://github.com/projectdiscovery/fastdialer/releases) - [Commits](projectdiscovery/fastdialer@v0.4.4...v0.4.5) --- updated-dependencies: - dependency-name: github.com/projectdiscovery/fastdialer dependency-version: 0.4.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * updating docs * refactor as integration test * fix go version * keep only disable test * comments * sync cookiejar * nil pointer * add stale workflow * chore(deps): bump actions/checkout from 4 to 5 (#1369) Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump golang from 1.24.5-alpine to 1.25.0-alpine (#1373) Bumps golang from 1.24.5-alpine to 1.25.0-alpine. --- updated-dependencies: - dependency-name: golang dependency-version: 1.25.0-alpine dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * version update * issue template update * misc update * Update workflow-monitor.yml --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: vbisbest <vbisbest@yahoo.com> Co-authored-by: niro <nirohfeld@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mzack9999 <mzack9999@protonmail.com> Co-authored-by: Doğan Can Bakır <dogancanbakir@protonmail.com>
2 parents 47c7ea9 + e841211 commit 6253b22

29 files changed

+672
-79
lines changed

.github/ISSUE_TEMPLATE/README.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Issue Template Management
2+
3+
## New Issue Workflow (Discussion-First)
4+
5+
To improve issue triage and reduce noise from questions being filed as bugs, all issue creation now goes through GitHub Discussions first.
6+
7+
### For Users:
8+
9+
**❌ Direct issue creation is disabled**
10+
**✅ All reports must start as discussions**
11+
12+
Users will be redirected to:
13+
- 🐛 **Bug Reports**[Q&A Discussions](https://github.com/projectdiscovery/katana/discussions/new?category=q-a)
14+
- 💡 **Feature Requests**[Ideas Discussions](https://github.com/projectdiscovery/katana/discussions/new?category=ideas)
15+
-**Questions**[Q&A Discussions](https://github.com/projectdiscovery/katana/discussions/new?category=q-a)
16+
17+
### For Maintainers:
18+
19+
#### Converting Discussions to Issues:
20+
21+
1. **Review the discussion** thoroughly
22+
2. **Determine if it's a valid bug/feature** (not just a question)
23+
3. **Convert to issue** using GitHub's "Convert to Issue" feature:
24+
- Go to the discussion
25+
- Click "⋯" menu → "Convert to issue"
26+
- Add appropriate labels and assignees
27+
28+
#### Triage Guidelines:
29+
30+
**Convert to Issue:**
31+
- ✅ Confirmed bugs with reproduction steps
32+
- ✅ Well-defined feature requests with clear use cases
33+
- ✅ Security vulnerabilities (after initial assessment)
34+
35+
**Keep as Discussion:**
36+
- ❌ Usage questions ("How do I...?")
37+
- ❌ Configuration help
38+
- ❌ Unclear or incomplete bug reports
39+
- ❌ Feature ideas that need more discussion/refinement
40+
41+
### Benefits:
42+
43+
- 📊 **Better issue quality** - Only confirmed bugs/features become issues
44+
- 🎯 **Easier triage** - Questions don't clutter the issue tracker
45+
- 💬 **Community involvement** - Discussion encourages collaboration before formal issues
46+
- 🧹 **Cleaner issue tracker** - Focus on actionable items only
47+
48+
## Re-enabling Templates (If Needed)
49+
50+
If you need to temporarily re-enable direct issue creation:
51+
52+
```bash
53+
# Re-enable templates
54+
mv issue-report.md.disabled issue-report.md
55+
mv feature_request.md.disabled feature_request.md
56+
57+
# Update config.yml to add them back
58+
```
59+
60+
## Template Files:
61+
62+
- `config.yml` - Main configuration (redirects all to discussions)
63+
- `issue-report.md.disabled` - Bug report template (disabled)
64+
- `feature_request.md.disabled` - Feature request template (disabled)

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
blank_issues_enabled: false
22

33
contact_links:
4-
- name: Ask an question / advise on using katana
5-
url: https://github.com/projectdiscovery/katana/discussions/categories/q-a
6-
about: Ask a question or request support for using katana
4+
- name: Report a Bug (Discussion First)
5+
url: https://github.com/projectdiscovery/katana/discussions/new?category=q-a
6+
about: Report bugs or issues via discussion for proper triage before issue creation
77

8-
- name: Share idea / feature to discuss for katana
9-
url: https://github.com/projectdiscovery/katana/discussions/categories/ideas
10-
about: Share idea / feature to discuss for katana
8+
- name: Feature Request (Discussion First)
9+
url: https://github.com/projectdiscovery/katana/discussions/new?category=ideas
10+
about: Share feature ideas via discussion for evaluation before implementation
1111

12-
- name: Connect with PD Team (Discord)
12+
- name: Ask a Question
13+
url: https://github.com/projectdiscovery/katana/discussions/new?category=q-a
14+
about: Ask questions about usage, configuration, or troubleshooting
15+
16+
- name: General Discussion
17+
url: https://github.com/projectdiscovery/katana/discussions/new?category=general
18+
about: General discussion about the project
19+
20+
- name: Security Issues
21+
url: mailto:security@projectdiscovery.io
22+
about: Report security vulnerabilities privately via email
23+
24+
- name: Discord Community
1325
url: https://discord.gg/projectdiscovery
14-
about: Connect with PD Team for direct communication
26+
about: Connect with PD Team and community for real-time discussion
File renamed without changes.
File renamed without changes.

.github/MAINTAINER_GUIDE.md

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
# Maintainer Guide: Discussion-First Issue Management
2+
3+
## Overview
4+
5+
Katana now uses a **discussion-first approach** for issue management to improve triage quality and reduce noise from questions being filed as bugs.
6+
7+
## How It Works
8+
9+
### 1. **All Reports Start as Discussions**
10+
- Users cannot create issues directly
11+
- All bug reports → **Q&A Discussions**
12+
- All feature requests → **Ideas Discussions**
13+
- All questions → **Q&A Discussions**
14+
15+
### 2. **Automated Triage Helper**
16+
- Auto-responds to discussions with helpful guidance
17+
- Auto-flags potential bugs with keywords detection
18+
- Provides checklists for proper bug reporting
19+
20+
### 3. **Maintainer Conversion Process**
21+
- Review discussions for completeness
22+
- Convert valid issues using GitHub's built-in feature
23+
- Apply appropriate labels during conversion
24+
25+
## Conversion Guidelines
26+
27+
### 🐛 **Bug Reports** → Convert to Issue When:
28+
29+
**Well-Defined Problems:**
30+
- Clear reproduction steps provided
31+
- Katana version specified
32+
- Expected vs actual behavior described
33+
- Environment details included
34+
- Error messages/logs included
35+
36+
**Confirmed Bugs:**
37+
- Issue reproduced by maintainer or community
38+
- Not a configuration/usage question
39+
- Not working as designed
40+
41+
**Keep as Discussion:**
42+
- Incomplete information
43+
- Usage questions ("How do I...?")
44+
- Configuration problems
45+
- Working as intended
46+
47+
### 💡 **Feature Requests** → Convert to Issue When:
48+
49+
**Solid Proposals:**
50+
- Clear use case defined
51+
- Benefits to community explained
52+
- Implementation approach considered
53+
- Not easily achievable with existing features
54+
55+
**Community Support:**
56+
- Multiple users expressing interest
57+
- Maintainer approval for implementation
58+
- Fits project roadmap
59+
60+
**Keep as Discussion:**
61+
- Vague ideas needing refinement
62+
- Better suited as external tools/plugins
63+
- Conflicts with project goals
64+
- Needs more community input
65+
66+
## Conversion Process
67+
68+
### Using GitHub's Convert Feature:
69+
70+
1. **Open the discussion**
71+
2. **Click the "⋯" menu** (top right)
72+
3. **Select "Convert to issue"**
73+
4. **Choose repository** (same repo)
74+
5. **Review title/body** - edit if needed
75+
6. **Add labels:**
76+
- `Type: Bug` for confirmed bugs
77+
- `Type: Enhancement` for approved features
78+
- `Priority: High/Medium/Low` as appropriate
79+
- `Component: Engine/Parser/Output` etc.
80+
81+
### Template for Converted Issues:
82+
83+
When converting, consider adding this note:
84+
85+
```markdown
86+
**Converted from Discussion:** #[discussion_number]
87+
88+
<!-- Original discussion provided community input and initial triage -->
89+
90+
[Original discussion content here]
91+
92+
---
93+
94+
**Maintainer Notes:**
95+
- [ ] Issue confirmed through discussion
96+
- [ ] Reproduction steps verified
97+
- [ ] Ready for implementation/investigation
98+
```
99+
100+
## Workflow Benefits
101+
102+
### **For Project Health:**
103+
- **Cleaner issue tracker** - Only actionable items
104+
- **Better metrics** - Issues vs discussions clearly separated
105+
- **Faster resolution** - Less time sorting questions from bugs
106+
107+
### **For Community:**
108+
- **Inclusive discussions** - Everyone can participate in triage
109+
- **Better help** - Community can answer questions quickly
110+
- **Learning opportunity** - Users see resolution process
111+
112+
### **For Maintainers:**
113+
- **Pre-filtered issues** - Only valid bugs/features reach issue tracker
114+
- **Rich context** - Discussion history provides background
115+
- **Community input** - Others help validate before conversion
116+
117+
## Examples
118+
119+
### **Good Bug Discussion → Issue Conversion**
120+
121+
**Discussion Title:** "Katana crashes when using -hl with custom headers"
122+
123+
**Discussion Body:**
124+
- Katana version: v1.2.1
125+
- Command: `katana -u example.com -hl -H "Custom: value"`
126+
- Error: panic in hybrid engine
127+
- Platform: macOS 14.1
128+
- Reproduction: consistent crash
129+
130+
**→ Convert to Issue:** Clear bug with reproduction steps
131+
132+
### **Question → Keep as Discussion**
133+
134+
**Discussion Title:** "How to crawl only PDF files?"
135+
136+
**Discussion Body:**
137+
- New user question
138+
- Asking for usage help
139+
- Not a bug or feature request
140+
141+
**→ Keep as Discussion:** Usage question, answer in discussion
142+
143+
### **Needs More Info → Keep as Discussion**
144+
145+
**Discussion Title:** "Katana doesn't work"
146+
147+
**Discussion Body:**
148+
- Vague description
149+
- No version, command, or error details
150+
- No reproduction steps
151+
152+
**→ Keep as Discussion:** Request more information first
153+
154+
## Quick Reference
155+
156+
| Type | Action | Labels for Conversion |
157+
|------|---------|-------------------|
158+
| **Confirmed Bug** | Convert → Issue | `Type: Bug`, `Priority: [level]` |
159+
| **Approved Feature** | Convert → Issue | `Type: Enhancement`, `Priority: [level]` |
160+
| **Usage Question** | Keep → Discussion | N/A |
161+
| **Needs Info** | Keep → Discussion | N/A |
162+
| **Security Issue** | Email → security@projectdiscovery.io | N/A |
163+
164+
This workflow ensures high-quality issues while maintaining an inclusive, helpful community environment!

.github/workflows/build-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: "${{ !endsWith(github.actor, '[bot]') }}"
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818
- uses: projectdiscovery/actions/setup/go@v1
1919
- uses: projectdiscovery/actions/golangci-lint@v1
2020

@@ -25,15 +25,15 @@ jobs:
2525
strategy:
2626
matrix:
2727
os: [ubuntu-latest, windows-latest, macOS-latest]
28-
go-version: [1.21.x]
28+
go-version: [1.24.x]
2929
steps:
3030
- name: Set up Go
3131
uses: actions/setup-go@v4
3232
with:
3333
go-version: ${{ matrix.go-version }}
3434

3535
- name: Check out code
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@v5
3737

3838
- name: Test
3939
run: go test ./...

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030

3131
# Initializes the CodeQL tools for scanning.
3232
- name: Initialize CodeQL

.github/workflows/compat-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
1313
permissions:
1414
contents: write
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
- uses: projectdiscovery/actions/setup/go/compat-checks@v1

.github/workflows/dep-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
if: github.actor == 'dependabot[bot]'
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222
with:
2323
token: ${{ secrets.DEPENDABOT_PAT }}
2424

0 commit comments

Comments
 (0)