Fuzzing Errors /api/upload
/api/upload
NR.1
{
"file_name": "﷽",
"file": "﷽"
}
NR.2
{
"file_name": "⁰⁴⁵₀₁₂",
"file": "⁰⁴⁵₀₁₂"
}
NR.3
{
"file_name": "\"'\"'\"''''\"",
"file": "\"'\"'\"''''\""
}
NR.4
{
"file_name": "Ⱥ",
"file": "Ⱥ"
}
NR.5
{
"file_name": "\\\\",
"file": "\\\\"
}
And many more ;)
artillery test script:
config:
target: 'http://localhost:5000'
phases:
- duration: 60
arrivalRate: 50
plugins:
fuzzer: {}
expect: {}
scenarios:
- flow:
- post:
url: "/api/upload"
json:
file_name: "{{ naughtyString }}"
file: "{{ naughtyString }}"
expect:
- statusCode: 400