mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 20:25:28 +00:00
29 lines
589 B
YAML
29 lines
589 B
YAML
|
|
id: file-upload
|
||
|
|
# template for testing when file upload is disabled
|
||
|
|
info:
|
||
|
|
name: Basic File Upload
|
||
|
|
author: pdteam
|
||
|
|
severity: info
|
||
|
|
|
||
|
|
headless:
|
||
|
|
- steps:
|
||
|
|
- action: navigate
|
||
|
|
args:
|
||
|
|
url: "{{BaseURL}}"
|
||
|
|
- action: waitload
|
||
|
|
- action: files
|
||
|
|
args:
|
||
|
|
by: xpath
|
||
|
|
xpath: /html/body/form/input[1]
|
||
|
|
value: headless/file-upload.yaml
|
||
|
|
- action: sleep
|
||
|
|
args:
|
||
|
|
duration: 2
|
||
|
|
- action: click
|
||
|
|
args:
|
||
|
|
by: x
|
||
|
|
xpath: /html/body/form/input[2]
|
||
|
|
matchers:
|
||
|
|
- type: word
|
||
|
|
words:
|
||
|
|
- "Basic File Upload"
|