-
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
add custom field #225
add custom field #225
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.
For now, http headers are not accessible; similar to nuclei, part
needs to be supported for field config.
part
attribute can have 3 values, response
which is default and have access to http response headers + body, header
, and body
as is additional options and can be used for specific needs.
- name: title
type: regex
part: body
group: 1
regex:
- '(?im)<\s*title.*>(.*?)<\s*/\s*title>'
@ShubhamRasal let's not make any changes in JSON output, we will track it as a separate issue for changes in the JSON output.
- part can be => body, header, response(body+header)
output:
|
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.
- JOSN output fields update
-
part: response
should be used (implicitly) if not defined.
eg