Merge pull request #7596 from projectdiscovery/drupal-jsonapi-user-listing-fix

better extractor (using json)
patch-1
Dhiyaneshwaran 2023-07-02 20:22:01 +05:30 committed by GitHub
commit c1809ac60b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 7 deletions

View File

@ -14,6 +14,7 @@ info:
metadata:
max-request: 1
verified: true
shodan-query: http.component:"drupal"
tags: drupal,exposure
http:
@ -32,10 +33,6 @@ http:
- 200
extractors:
- type: regex
part: body
group: 1
regex:
- '\{"display_name":"([A-Za-z0-9-_]+)"\}'
# Enhanced by md on 2023/02/08
- type: json
json:
- '.data[].attributes.display_name'