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 support to query DNS TLSA record #3054

Merged
merged 5 commits into from
Dec 28, 2022

Conversation

nothinux
Copy link
Contributor

@nothinux nothinux commented Dec 17, 2022

Proposed changes

Adding support to query DNS TLSA record.
Resolved #2942

# tps.yaml
id: tlsa-fingerprinting

info:
  name: TLSA Fingerprint
  author: pdteam
  severity: info
  tags: dns,tlsa

dns:
  - name: "{{FQDN}}"
    type: TLSA

    matchers:
      - type: word
        words:
          - "IN\tTLSA"

    extractors:
      - type: regex
        group: 1
        regex:
          - "IN\tTLSA\t(.+)"
echo nothinux.id | go18 run cmd/nuclei/main.go -t tps.yaml 

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v2.8.4-dev

                projectdiscovery.io

[INF] Using Nuclei Engine 2.8.4-dev (development)
[INF] Using Nuclei Templates 9.3.1 (latest)
[INF] Templates added in last update: 2
[INF] Templates loaded for scan: 1
[INF] Targets loaded for scan: 1
[tlsa-fingerprinting] [dns] [info] nothinux.id [3 1 1 4133f5556d31eaa151aee054efafe5f2a3cb0f4f7764cf320fd1a8427b532f8b]

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@ehsandeep ehsandeep linked an issue Dec 19, 2022 that may be closed by this pull request
@ehsandeep ehsandeep requested a review from Mzack9999 December 19, 2022 01:50
@ehsandeep ehsandeep added the Type: Enhancement Most issues will probably ask for additions or changes. label Dec 20, 2022
@ehsandeep ehsandeep merged commit 7093180 into projectdiscovery:dev Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing DNS type TLSA
3 participants