From 60d95c739b1eb6e9d4c02d91c79dcd0534bcb0f2 Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 2 Nov 2019 22:13:55 +0100 Subject: updated hide and show type + response struct content --- src/structs.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/structs.go') diff --git a/src/structs.go b/src/structs.go index d2f76c2..980b47b 100644 --- a/src/structs.go +++ b/src/structs.go @@ -2,12 +2,12 @@ package main // Hide stores what requests to hide type Hide struct { - HideCode, HideLine, HideWord, HideChar string + HideCode, HideLine, HideWord, HideChar []int } // Show stores what requests to show type Show struct { - ShowCode, ShowLine, ShowWord, ShowChar string + ShowCode, ShowLine, ShowWord, ShowChar []int } // Config stores the overall config @@ -36,8 +36,11 @@ type Config struct { // Response defines the http response type Response struct { - StatusCode int - FuzzWord string + StatusCode int + ResponseLines int + ResponseWords int + ResponseChars int + FuzzWord string } // Found contains a list of all found endpoints an an Amount value indicating -- cgit 1.4.1