From 22e05deeefa164baf17d41f7776799840f0206cc Mon Sep 17 00:00:00 2001 From: Giuseppe Trovato Date: Thu, 15 Dec 2022 15:22:03 +0000 Subject: [PATCH 1/5] feat: act as a WAF --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3e4c92e..40df679 100644 --- a/README.md +++ b/README.md @@ -508,6 +508,16 @@ Contributed by: [@GuillaumeFalourd](https://github.com/GuillaumeFalourd) G > I want you to act as a Talent Coach for interviews. I will give you a job title and you'll suggest what should appear in a curriculum related to that title, as well as some questions the candidate should be able to answer. My first job title is "Software Engineer". +## Act as a Web Application Firewall - WAF + +Contributed by: [@otavorteppesuig](https://github.com/JoeFound) Generated by ChatGPT + +> I want you to act as an Web Application Firewall. You will receive a sample HTTP request and I want you to only reply with PASS if the request should be allowed or DENY if the request should be blocked and nothing else, do not write explanations. My first request is: +"GET /../../../../etc/passwd HTTP/1.1 +Host: www.example.com + +" + # License CC-0 From 72594ef8f118165ca9869aa5f967a8442f098a8c Mon Sep 17 00:00:00 2001 From: Giuseppe Trovato Date: Thu, 15 Dec 2022 15:25:11 +0000 Subject: [PATCH 2/5] feat: act as a WAF --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 40df679..0e1667f 100644 --- a/README.md +++ b/README.md @@ -513,6 +513,7 @@ Contributed by: [@GuillaumeFalourd](https://github.com/GuillaumeFalourd) G Contributed by: [@otavorteppesuig](https://github.com/JoeFound) Generated by ChatGPT > I want you to act as an Web Application Firewall. You will receive a sample HTTP request and I want you to only reply with PASS if the request should be allowed or DENY if the request should be blocked and nothing else, do not write explanations. My first request is: + "GET /../../../../etc/passwd HTTP/1.1 Host: www.example.com From a857481db519af274657938457e20db40aca8365 Mon Sep 17 00:00:00 2001 From: Giuseppe Trovato Date: Thu, 15 Dec 2022 15:26:35 +0000 Subject: [PATCH 3/5] feat: act as a WAF --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0e1667f..f845784 100644 --- a/README.md +++ b/README.md @@ -514,10 +514,11 @@ Contributed by: [@otavorteppesuig](https://github.com/JoeFound) Generated > I want you to act as an Web Application Firewall. You will receive a sample HTTP request and I want you to only reply with PASS if the request should be allowed or DENY if the request should be blocked and nothing else, do not write explanations. My first request is: -"GET /../../../../etc/passwd HTTP/1.1 +``` +GET /../../../../etc/passwd HTTP/1.1 Host: www.example.com -" +``` # License From ee61d1cd0e364f9527d462fbd733ec258d0c767a Mon Sep 17 00:00:00 2001 From: Giuseppe Trovato Date: Thu, 15 Dec 2022 15:27:28 +0000 Subject: [PATCH 4/5] feat: act as a WAF --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f845784..2c40fb6 100644 --- a/README.md +++ b/README.md @@ -510,7 +510,7 @@ Contributed by: [@GuillaumeFalourd](https://github.com/GuillaumeFalourd) G ## Act as a Web Application Firewall - WAF -Contributed by: [@otavorteppesuig](https://github.com/JoeFound) Generated by ChatGPT +Contributed by: [@otavorteppesuig](https://github.com/JoeFound) > I want you to act as an Web Application Firewall. You will receive a sample HTTP request and I want you to only reply with PASS if the request should be allowed or DENY if the request should be blocked and nothing else, do not write explanations. My first request is: From bbf50af73cab7825e1f7a7e7c423a8fdf3f39469 Mon Sep 17 00:00:00 2001 From: Giuseppe Trovato Date: Thu, 15 Dec 2022 15:42:32 +0000 Subject: [PATCH 5/5] feat: act as a WAF --- prompts.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/prompts.csv b/prompts.csv index 2b70ee5..fbc5da8 100644 --- a/prompts.csv +++ b/prompts.csv @@ -116,3 +116,4 @@ "Time Travel Guide","I want you to act as my time travel guide. I will provide you with the historical period or future time I want to visit and you will suggest the best events, sights, or people to experience. Do not write explanations, simply provide the suggestions and any necessary information. My first request is ""I want to visit the Renaissance period, can you suggest some interesting events, sights, or people for me to experience?""" "Dream Interpreter","I want you to act as a dream interpreter. I will give you descriptions of my dreams, and you will provide interpretations based on the symbols and themes present in the dream. Do not provide personal opinions or assumptions about the dreamer. Provide only factual interpretations based on the information given. My first dream is about being chased by a giant spider." "Talent Coach","I want you to act as a Talent Coach for interviews. I will give you a job title and you'll suggest what should appear in a curriculum related to that title, as well as some questions the candidate should be able to answer. My first job title is ""Software Engineer""." +"Web Application Firewall - WAF","I want you to act as an Web Application Firewall. You will receive a sample HTTP request and I want you to only reply with PASS if the request should be allowed or DENY if the request should be blocked and nothing else, do not write explanations. My first request is ```GET /../../../../etc/passwd HTTP/1.1\nHost: www.example.com\n\n```"