-
Notifications
You must be signed in to change notification settings - Fork 639
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
Adds option to parse form, input, textarea & select elements #464
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aristosMiliaressis looks very useful.
we can keep the inconsistent request method in the output uniform following CAPS for the method.
Current:
cat output | jq '.response.forms[].method' | sort -u
"GET"
"POST"
"get"
"post"
Expected:
cat output | jq '.response.forms[].method' | sort -u
"GET"
"POST"
Hi @ehsandeep , thanks for the quick response, i just committed the change you suggested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm !
@aristosMiliaressis thanks for PR and adding this awesome feature
$ ./katana -u https://www.hackerone.com/contact -fx -j -or -ob | jq '.response.forms | select( . != null )'
__ __
/ /_____ _/ /____ ____ ___ _
/ '_/ _ / __/ _ / _ \/ _ /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/
projectdiscovery.io
[INF] Current katana version v1.0.2-dev (outdated)
[INF] Started standard crawling for => https://www.hackerone.com/contact
[
{
"method": "POST",
"action": "/product/insights",
"parameters": [
"email",
"op",
"form_build_id",
"form_id",
"url"
]
}
]
[
{
"method": "POST",
"action": "/ethical-hacker",
"parameters": [
"email",
"op",
"form_build_id",
"form_id",
"url"
]
}
]
Added the following option to parse forms
output format