Skip to content

Commit c20c0d0

Browse files
authored
Update wrong documentation regarding variables in dynamic auth
1 parent 3c29657 commit c20c0d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/nuclei/authenticated-scans.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ dynamic:
141141
# A example dynamic login of Wordpress using REST API
142142
- template: /path/to/wordpress-login.yaml
143143
variables:
144-
- name: username
144+
- key: username
145145
value: pdteam
146-
- name: password
146+
- key: password
147147
value: nuclei-fuzz
148148
input: auth-server.projectdiscovery.io # optional input/target, not required if target is hardcoded in template
149149
# once login is successful, this can be used in below templatized static secret
@@ -351,9 +351,9 @@ Example:
351351

352352
```yaml
353353
variables:
354-
- name: username
354+
- key: username
355355
value: pdteam
356-
- name: password
356+
- key: password
357357
value: nuclei-fuzz
358358
```
359359

0 commit comments

Comments
 (0)