From 8792f9e01a921e46f74ea6beb7691f144e8b9d5d Mon Sep 17 00:00:00 2001 From: tejaskadam1990-spec Date: Tue, 5 Aug 2025 00:39:29 +0530 Subject: [PATCH] Create buffer-overflow.yaml --- testcases/owasp/buffer-overflow.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 testcases/owasp/buffer-overflow.yaml 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"