about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-11-02 22:13:55 +0100
committerEmile <hanemile@protonmail.com>2019-11-02 22:13:55 +0100
commit60d95c739b1eb6e9d4c02d91c79dcd0534bcb0f2 (patch)
tree5b799a1854d061f9d9aca3700208d8a794a58d77 /src
parentae9f5070cbed85af91d685de872d36c2cc79f5f1 (diff)
updated hide and show type + response struct content
Diffstat (limited to 'src')
-rw-r--r--src/structs.go11
1 files changed, 7 insertions, 4 deletions
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