diff options
author | Emile <hanemile@protonmail.com> | 2019-11-01 18:56:19 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-11-01 18:56:19 +0100 |
commit | a6ccee210537232664b3cf98e7600909d7076e8d (patch) | |
tree | 87e93a271d7ddea27ab1bdfbe18703c86ca69936 /src/structs.go | |
parent | c10cd1f770fab876acf3fa9fd7bda9b85d81d4a4 (diff) |
simple working basic setup
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 } |