Skip to content

Commit

Permalink
Fix learndash regex syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
topscoder committed May 14, 2024
1 parent 87faab2 commit 81356d8
Show file tree
Hide file tree
Showing 17 changed files with 65 additions and 65 deletions.
2 changes: 1 addition & 1 deletion lib/parsers/edge-cases.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sfwd-lms:
target: ""
regex: '(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)'
regex: '(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)'

fusion-builder:
target: "wp-content/plugins/fusion-builder/languages/fusion-builder.pot"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ info:
author: topscoder
severity: low
description: >
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/40a57493-b99b-4e71-8603-e668c6283a5a?source=api-scan
classification:
cvss-metrics:
cvss-score:
cve-id:
cvss-metrics:
cvss-score:
cve-id:
metadata:
fofa-query: "wp-content/plugins/sfwd-lms/"
google-query: inurl:"/wp-content/plugins/sfwd-lms/"
Expand All @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ info:
author: topscoder
severity: low
description: >
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/07b1efbd-0caf-412d-ac1b-ab1b27c32b8c?source=api-scan
classification:
cvss-metrics:
cvss-score:
cve-id:
cvss-metrics:
cvss-score:
cve-id:
metadata:
fofa-query: "wp-content/plugins/sfwd-lms/"
google-query: inurl:"/wp-content/plugins/sfwd-lms/"
Expand All @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ info:
author: topscoder
severity: low
description: >
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ae735117-e68b-448e-ad41-258d1be3aebc?source=api-scan
classification:
cvss-metrics:
cvss-score:
cve-id:
cvss-metrics:
cvss-score:
cve-id:
metadata:
fofa-query: "wp-content/plugins/sfwd-lms/"
google-query: inurl:"/wp-content/plugins/sfwd-lms/"
Expand All @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ info:
author: topscoder
severity: critical
description: >
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5e29b10e-81d5-4247-bfe8-2400bcd9aef9?source=api-scan
classification:
cvss-metrics:
cvss-score:
cve-id:
cvss-metrics:
cvss-score:
cve-id:
metadata:
fofa-query: "wp-content/plugins/sfwd-lms/"
google-query: inurl:"/wp-content/plugins/sfwd-lms/"
Expand All @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ info:
author: topscoder
severity: critical
description: >
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9d4f47af-294a-4c3a-accd-9ae674916a38?source=api-scan
classification:
cvss-metrics:
cvss-score:
cve-id:
cvss-metrics:
cvss-score:
cve-id:
metadata:
fofa-query: "wp-content/plugins/sfwd-lms/"
google-query: inurl:"/wp-content/plugins/sfwd-lms/"
Expand All @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ info:
author: topscoder
severity: low
description: >
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/61ca5ab6-5fe9-4313-9b0d-8736663d0e89?source=api-scan
classification:
cvss-metrics:
cvss-score:
cve-id:
cvss-metrics:
cvss-score:
cve-id:
metadata:
fofa-query: "wp-content/plugins/sfwd-lms/"
google-query: inurl:"/wp-content/plugins/sfwd-lms/"
Expand All @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ info:
author: topscoder
severity: low
description: >
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7191955e-0db1-4ad1-878b-74f90ca59c91?source=api-scan
classification:
cvss-metrics:
cvss-score:
cve-id:
cvss-metrics:
cvss-score:
cve-id:
metadata:
fofa-query: "wp-content/plugins/sfwd-lms/"
google-query: inurl:"/wp-content/plugins/sfwd-lms/"
Expand All @@ -33,14 +33,14 @@ http:
group: 1
internal: true
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)"
- "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)"

matchers-condition: and
matchers:
Expand Down
Loading

0 comments on commit 81356d8

Please sign in to comment.