From 5737b39fb8b27949b68c03821761c53a46ce53f0 Mon Sep 17 00:00:00 2001 From: OmerFI <54645034+OmerFI@users.noreply.github.com> Date: Wed, 10 Aug 2022 19:46:44 +0300 Subject: [PATCH 1/2] Add a comma in lfi.json file JSON syntax requires a comma in each line --- gf-patterns/lfi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gf-patterns/lfi.json b/gf-patterns/lfi.json index b5dc554..f3c71be 100644 --- a/gf-patterns/lfi.json +++ b/gf-patterns/lfi.json @@ -4,7 +4,7 @@ "cat=", "dir=", - "action=" + "action=", "board=", "date=", "detail=", From 82bbf37f3766a303b205c2955ac05f2d8edf16a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Furkan=20=C4=B0=C5=9Fleyen?= <54645034+OmerFI@users.noreply.github.com> Date: Wed, 10 Aug 2022 19:52:47 +0300 Subject: [PATCH 2/2] Format json files --- gf-patterns/lfi.json | 7 +++---- gf-patterns/openredirect.json | 7 +++---- gf-patterns/rce.json | 7 +++---- gf-patterns/sqli.json | 7 +++---- gf-patterns/ssrf.json | 7 +++---- gf-patterns/xss.json | 7 +++---- 6 files changed, 18 insertions(+), 24 deletions(-) diff --git a/gf-patterns/lfi.json b/gf-patterns/lfi.json index f3c71be..b451ca4 100644 --- a/gf-patterns/lfi.json +++ b/gf-patterns/lfi.json @@ -1,7 +1,6 @@ { "flags": "-iE", - "patterns": [ - + "patterns": [ "cat=", "dir=", "action=", @@ -27,5 +26,5 @@ "layout=", "mod=", "conf=" -] -} + ] +} \ No newline at end of file diff --git a/gf-patterns/openredirect.json b/gf-patterns/openredirect.json index 134f4d1..08456ae 100644 --- a/gf-patterns/openredirect.json +++ b/gf-patterns/openredirect.json @@ -1,7 +1,6 @@ { "flags": "-iE", - "patterns": [ - + "patterns": [ "next=", "url=", "target=", @@ -23,5 +22,5 @@ "checkout_url=", "continue=", "return_path=" -] -} + ] +} \ No newline at end of file diff --git a/gf-patterns/rce.json b/gf-patterns/rce.json index 50167a0..b33d5e1 100644 --- a/gf-patterns/rce.json +++ b/gf-patterns/rce.json @@ -1,7 +1,6 @@ { "flags": "-iE", - "patterns": [ - + "patterns": [ "cmd=", "exec=", "command=", @@ -25,5 +24,5 @@ "payload=", "run=", "print=" -] -} + ] +} \ No newline at end of file diff --git a/gf-patterns/sqli.json b/gf-patterns/sqli.json index b3173ea..7633fed 100644 --- a/gf-patterns/sqli.json +++ b/gf-patterns/sqli.json @@ -1,7 +1,6 @@ { "flags": "-iE", - "patterns": [ - + "patterns": [ "id=", "page=", "report=", @@ -27,5 +26,5 @@ "main=", "nav=", "region=" -] -} + ] +} \ No newline at end of file diff --git a/gf-patterns/ssrf.json b/gf-patterns/ssrf.json index 52f0a9f..76d8710 100644 --- a/gf-patterns/ssrf.json +++ b/gf-patterns/ssrf.json @@ -1,7 +1,6 @@ { "flags": "-iE", - "patterns": [ - + "patterns": [ "dest=", "redirect=", "uri=", @@ -27,5 +26,5 @@ "out=", "view=", "dir=" -] -} + ] +} \ No newline at end of file diff --git a/gf-patterns/xss.json b/gf-patterns/xss.json index aa3ee7f..7ea0f86 100644 --- a/gf-patterns/xss.json +++ b/gf-patterns/xss.json @@ -1,7 +1,6 @@ { "flags": "-iE", - "patterns": [ - + "patterns": [ "q=", "s=", "search=", @@ -27,5 +26,5 @@ "l=", "begindate=", "enddate=" -] -} + ] +} \ No newline at end of file