Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore crawling same path with different query-param values #371

Merged
merged 2 commits into from
Mar 23, 2023

Conversation

RamanaReddy0M
Copy link
Contributor

@RamanaReddy0M RamanaReddy0M commented Mar 21, 2023

@RamanaReddy0M RamanaReddy0M self-assigned this Mar 21, 2023
@RamanaReddy0M RamanaReddy0M linked an issue Mar 21, 2023 that may be closed by this pull request
@RamanaReddy0M
Copy link
Contributor Author

Without ignoring query-params

katana git:(issue-247-unique-url) ✗ ./katana -u http://localhost:8082/ 

   __        __                
  / /_____ _/ /____ ____  ___ _
 /  '_/ _  / __/ _  / _ \/ _  /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/                                                   

                projectdiscovery.io

[INF] Current katana version v1.0.0 (latest)
http://localhost:8082/
http://localhost:8082/info?name=test
http://localhost:8082/email?text=important_user
http://localhost:8082/duplicate
http://localhost:8082/redirect?redirect_url=/info?name=redirected_from_url
http://localhost:8082/permissions?cmd=whoami
http://localhost:8082/info?name=redirected_from_url
http://localhost:8082/info?name=test&another=value&random=data
http://localhost:8082/request?url=https://example.com
http://localhost:8082/request?url=https://hackerone.com
http://localhost:8082/request?url=https://google.com

Ignoring query-params

katana git:(issue-247-unique-url) ✗ ./katana -u http://localhost:8082/ -iqp

   __        __                
  / /_____ _/ /____ ____  ___ _
 /  '_/ _  / __/ _  / _ \/ _  /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/                                                   

                projectdiscovery.io

[INF] Current katana version v1.0.0 (latest)
http://localhost:8082/
http://localhost:8082/info?name=test
http://localhost:8082/email?text=important_user
http://localhost:8082/redirect?redirect_url=/info?name=redirected_from_url
http://localhost:8082/duplicate
http://localhost:8082/permissions?cmd=whoami
http://localhost:8082/info?name=test&another=value&random=data
http://localhost:8082/request?url=https://example.com

Copy link
Member

@Mzack9999 Mzack9999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - will be reworked as part of #14 and #13

Copy link
Contributor

@ShubhamRasal ShubhamRasal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ehsandeep ehsandeep merged commit 8360c8a into dev Mar 23, 2023
@ehsandeep ehsandeep deleted the issue-247-unique-url branch March 23, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unique url
4 participants