Update CVE-2022-0968.yaml

patch-1
Ritik Chaddha 2022-08-02 15:18:12 +05:30 committed by GitHub
parent 0c55f2f87c
commit b85228d186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -37,14 +37,14 @@ requests:
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
thumbnail=&id=2&token={{form_token}}&_method=PATCH&username={{username}}&verify_password=&first_name={{payload}}&last_name=test&email={{email}}&phone=&is_admin=0&is_active=1&basic_mode=0&api_key=
thumbnail=&id=2&token={{form_token}}&_method=PATCH&username={{user_name}}&verify_password=&first_name={{payload}}&last_name=test&email={{email}}&phone=&is_admin=0&is_active=1&basic_mode=0&api_key=
req-condition: true
cookie-reuse: true
matchers:
- type: dsl
dsl:
- contains(body_3,'\"first_name\":\"{{input}}\"')
- contains(body_3,'\"first_name\":\"{{payload}}\"')
- 'status_code_3==200'
- 'contains(all_headers_3,"application/json")'
condition: and
@ -64,7 +64,7 @@ requests:
internal: true
group: 1
regex:
- '<input type="text" class="form-control" name="username" value="(.*)">'
- '<input type="text" class="form-control" name="username" value="(.*)">'
- type: regex
part: body