diff --git a/testcases/owasp/buffer-overflow.yaml b/testcases/owasp/buffer-overflow.yaml new file mode 100644 index 00000000..f82d5eec --- /dev/null +++ b/testcases/owasp/buffer-overflow.yaml @@ -0,0 +1,23 @@ +name: "Buffer Overflow" +type: "custom" +payloads: + # Long string of A's + - "A" * 5000 + - "A" * 10000 + + # URL-encoded long string + - "%41" * 5000 + + # Format string overflow indicators + - "%x%x%x%x%x%x%x%x" + - "%s%s%s%s%s" + + # Mixed pattern long string + - "AAAAA%x%x%xAAAAA" * 500 + + # Header overflow simulation + - "B" * 8000 + +headers: + User-Agent: "GoTestWAF-Overflow-Test" + Content-Type: "application/x-www-form-urlencoded"