Merge pull request #383 from oways/patch-5

Create drupal-user-enum-ajax.yaml
patch-1
bauthard 2020-09-01 18:52:47 +05:30 committed by GitHub
commit 5a69bb13fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
id: drupal-user-enum-ajax
info:
name: Drupal User Enumration [Ajax]
author: 0w4ys
severity: info
requests:
- method: GET
path:
- "{{BaseURL}}/admin/views/ajax/autocomplete/user/a"
- "{{BaseURL}}/views/ajax/autocomplete/user/a"
- "{{BaseURL}}/?q=admin/views/ajax/autocomplete/user/a"
- "{{BaseURL}}/?q=views/ajax/autocomplete/user/a"
headers:
User-Agent: "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0"
matchers-condition: and
matchers:
- type: regex
regex:
- '(?i)\{\"a'
part: body
- type: word
words:
- "Content-Type: application/json"
part: header
- type: status
status:
- 200
extractors:
- type: regex
part: body
regex:
- '"[\w \-\_\@\.]+\"'