From a6ccee210537232664b3cf98e7600909d7076e8d Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 1 Nov 2019 18:56:19 +0100 Subject: simple working basic setup --- src/structs.go | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'src/structs.go') diff --git a/src/structs.go b/src/structs.go index 4458dc8..8ca9eb2 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 string } // Show stores what requests to show type Show struct { - showCode, showLine, showWord, showChar string + ShowCode, ShowLine, ShowWord, ShowChar string } // Config stores the overall config @@ -18,18 +18,24 @@ type Config struct { Hide Hide // misc config - color bool - verbose bool - printer string - dryrun bool - proxy string - concurrent int - delay int - followRedirect bool - url string - payload string - wordlist string - postData string - headers string - basicauth string + Color bool + Verbose bool + Printer string + Dryrun bool + Proxy string + Concurrent int + Delay int + FollowRedirect bool + URL string + Payload string + Wordlist string + PostData string + Headers string + Basicauth string +} + +// Response defines the http response +type Response struct { + StatusCode int + FuzzWord string } -- cgit 1.4.1