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

Add match and filter options #346

Merged
merged 2 commits into from
Mar 9, 2023
Merged

Add match and filter options #346

merged 2 commits into from
Mar 9, 2023

Conversation

ShubhamRasal
Copy link
Contributor

@ShubhamRasal ShubhamRasal commented Mar 7, 2023

  • Add documentation
./katana -u https://tesla.com -mr 'https://shop\.tesla\.com/*' -ns

   __        __                
  / /_____ _/ /____ ____  ___ _
 /  '_/ _  / __/ _  / _ \/ _  /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/ v0.0.4-dev							 

		projectdiscovery.io

https://shop.tesla.com/en_ae?redirect=no
https://shop.tesla.com/fr_be?redirect=no
https://shop.tesla.com/fr_lu?redirect=no 
https://shop.tesla.com/en_dk?tesref=true
https://shop.tesla.com/en_fi?tesref=true
https://shop.tesla.com/zh_tw?tesref=true
https://shop.tesla.com/cs_cz?redirect=no
https://shop.tesla.com?tesref=true
https://shop.tesla.com/
https://shop.tesla.com/category/charging
https://shop.tesla.com/category/vehicle-accessories
https://shop.tesla.com/category/apparel
https://shop.tesla.com/category/lifestyle
https://shop.tesla.com/product/wall-connector?sku=1457768-02-G
https://shop.tesla.com/category/vehicle-accessories/model-s
https://shop.tesla.com/category/vehicle-accessories/model-3
https://shop.tesla.com/category/vehicle-accessories/model-x
https://shop.tesla.com/category/vehicle-accessories/model-y
https://shop.tesla.com/category/apparel/men
https://shop.tesla.com/category/apparel/women
https://shop.tesla.com/category/apparel/kids
https://shop.tesla.com/product/men_s-ai-day-tee?sku=1905128-00-A
https://shop.tesla.com/product/mega-_back_-pack?sku=1859927-00-A
https://shop.tesla.com/cart
https://shop.tesla.com?signIn=true
https://shop.tesla.com/orders
https://shop.tesla.com/gift-card-balance
https://shop.tesla.com?signOut=true
https://shop.tesla.com/?redirect=no
https://shop.tesla.com/en_ca?redirect=no

@ShubhamRasal ShubhamRasal self-assigned this Mar 7, 2023
@ShubhamRasal ShubhamRasal marked this pull request as draft March 7, 2023 09:39
@ShubhamRasal ShubhamRasal linked an issue Mar 7, 2023 that may be closed by this pull request
@ShubhamRasal ShubhamRasal marked this pull request as ready for review March 9, 2023 06:14
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 - Still, this can be easily accomplished with jq + grep. If we implement a matcher for the URL, then we should also for the status code, body, and so on, basically, the same that we have in httpx.

$ go run . -mr vendor -u http://192.168.1.1

   __        __
  / /_____ _/ /____ ____  ___ _
 /  '_/ _  / __/ _  / _ \/ _  /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/ v0.0.4-dev

                projectdiscovery.io

http://192.168.1.1/js/vendor.js

Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

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

@Mzack9999

If we implement a matcher for the URL, then we should also for the status code, body, and so on, basically, the same that we have in httpx.

Yes, we will be adding them after #312

@ehsandeep ehsandeep merged commit bba7b2b into dev Mar 9, 2023
@ehsandeep ehsandeep deleted the issue-269-match-filter branch March 9, 2023 12:35
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.

Match / Filter support on discovered endpoints
3 participants