mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 21:35:26 +00:00
* Add ai flag * Add AI flag 2 * fix stdin * fix stdin 2 * minor * print both url and path * store ai generated templates in `$HOME/nuclei-templates/pdcp` * todo * do not remove all * make it less restrictive * use retryablehttp * fix creds check * return errs * return more detailed err for non-ok status code * add prompt validation * fix integration tests --------- Co-authored-by: Doğan Can Bakır <dogancanbakir@protonmail.com>
30 lines
663 B
YAML
30 lines
663 B
YAML
id: dns-ssl-http-with-variables
|
|
|
|
info:
|
|
name: multi protocol request with dynamic values
|
|
author: pdteam
|
|
severity: info
|
|
|
|
|
|
variables:
|
|
cname_filtered: '{{trim_suffix(dns_cname,".vercel-dns.com")}}'
|
|
|
|
dns:
|
|
- name: "{{FQDN}}" # DNS Request
|
|
type: cname
|
|
|
|
ssl:
|
|
- address: "{{Hostname}}" # ssl request
|
|
|
|
http:
|
|
- method: GET # http request
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- contains(http_body,'home') # check for http string
|
|
- cname_filtered == 'cname' # check for cname (extracted information from dns response)
|
|
- ssl_subject_cn == 'docs.projectdiscovery.io'
|
|
condition: and |