Update dns-rebinding.yaml

Regex not incorrect
patch-1
Vikas Gupta 2024-02-06 20:07:47 +05:30 committed by GitHub
parent 8e3cd9ae4d
commit 65c5e8a61b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ dns:
- type: regex - type: regex
part: answer part: answer
regex: regex:
- 'IN.*A.*(127\.0\.0\.1|\b10\.\d{1,3}\.\d{1,3}\.\d{1,3}\b|172\.(1[6-9]|2\d|3[0-1])\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3})$' - 'IN.*A.(\s)*(127\.0\.0\.1|10\.\d{1,3}\.\d{1,3}\.\d{1,3}|172\.(1[6-9]|2\d|3[0-1])\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3})(127\.0\.0\.1|\b10\.\d{1,3}\.\d{1,3}\.\d{1,3}\b|172\.(1[6-9]|2\d|3[0-1])\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3})$'
extractors: extractors:
- type: regex - type: regex
@ -35,7 +35,7 @@ dns:
name: IPv4 name: IPv4
group: 1 group: 1
regex: regex:
- 'IN.*A.*(127\.0\.0\.1|\b10\.\d{1,3}\.\d{1,3}\.\d{1,3}\b|172\.(1[6-9]|2\d|3[0-1])\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3})' - 'IN.*A.(\s)*(127\.0\.0\.1|10\.\d{1,3}\.\d{1,3}\.\d{1,3}|172\.(1[6-9]|2\d|3[0-1])\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3})(127\.0\.0\.1|\b10\.\d{1,3}\.\d{1,3}\.\d{1,3}\b|172\.(1[6-9]|2\d|3[0-1])\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3})'
- name: "{{FQDN}}" - name: "{{FQDN}}"
type: AAAA type: AAAA
@ -66,4 +66,4 @@ dns:
group: 1 group: 1
regex: regex:
- "IN.+A.+(fd([0-9a-fA-F]{2}):([0-9a-fA-F]{1,4}:){0,5}([0-9a-fA-F]{1,4}:){1,2}[0-9a-fA-F]{1,4})$" - "IN.+A.+(fd([0-9a-fA-F]{2}):([0-9a-fA-F]{1,4}:){0,5}([0-9a-fA-F]{1,4}:){1,2}[0-9a-fA-F]{1,4})$"
# digest: 490a0046304402200086722c300abf7992729d43c342b754b0f805ca77bb380c079e86ba2fc18891022048ef9c5c5f5d13f31c25d484d6c038c6184dc6d1e4373f5eae32843ffbb89fc7:922c64590222798bb761d5b6d8e72950 # digest: 490a0046304402200086722c300abf7992729d43c342b754b0f805ca77bb380c079e86ba2fc18891022048ef9c5c5f5d13f31c25d484d6c038c6184dc6d1e4373f5eae32843ffbb89fc7:922c64590222798bb761d5b6d8e72950