diff options
Diffstat (limited to 'src/structs.go')
-rw-r--r-- | src/structs.go | 38 |
1 files changed, 22 insertions, 16 deletions
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 } |