From 561e80196369071d54f82b754fba359953c46d2a Mon Sep 17 00:00:00 2001 From: Aleksey Semenchenko Date: Tue, 2 Apr 2024 18:04:11 +0400 Subject: [PATCH] rawrequest test (#240) --- .../community/community-rce-rawrequests.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 testcases/community/community-rce-rawrequests.yml diff --git a/testcases/community/community-rce-rawrequests.yml b/testcases/community/community-rce-rawrequests.yml new file mode 100644 index 00000000..812d23ed --- /dev/null +++ b/testcases/community/community-rce-rawrequests.yml @@ -0,0 +1,19 @@ +--- +payload: + - "cmd=cat /etc/passwd" + - "cmd=127.0.0.1 && ls /etc" + - "cmd=${@print(md5(31337))}" +encoder: + - Plain +placeholder: + - RawRequest: + method: "POST" + path: "/clam.php" + headers: + User-Agent: "Mozilla/5.0" + Content-Type: "application/x-www-form-urlencoded" + Content-Encoding: "No Kill No Beep Beep" + Content-Encoding: "gzip" + body: "{{payload}}" +type: "RawRequest test" +...