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
Display tpl contents #2906
Display tpl contents #2906
Conversation
New verboseTemplate method to avoid duplicate code Grouped (and sorted) template list per directory
The new one can't be pipelined
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.
@vzamanillo thank you for working on this, few suggestions -
- enable
-tl
option when-td
option is used implicitly. - respect
-no-color
option to disable colors when-td
is used.
Respect --no-color option to disable colors when -td is used
|
By the way, I chose I have not thought about the option of being able to change it by command line, but it can also be done. |
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.
./nuclei -id tls-version -silent -td
Template: /Users/geekboy/nuclei-templates/ssl/tls-version.yaml
id: tls-version
info:
name: TLS Version
author: pdteam
severity: info
tags: ssl
ssl:
- address: "{{Host}}:{{Port}}"
extractors:
- type: json
json:
- ".tls_version"
The |
Yep, forgot that. You mean using an optional integer value of |
I see, there is no optional value flags for |
@vzamanillo yes, you are right, I forgot that it wasn't yet implemented. In this case you can either:
|
@forgedhallpass I am going to investigate how to add the optional flags, it is the optimal solution. |
@vzamanillo, we can adapt the changes once projectdiscovery/goflags#11 is implemented. |
Implements #2827
Proposed changes
td
flag to display the highlighted template contents in combination withtl
Checklist