package main // Hide stores what requests to hide type Hide struct { HideCode, HideLine, HideWord, HideChar []int } // Show stores what requests to show type Show struct { ShowCode, ShowLine, ShowWord, ShowChar []int } // Config stores the overall config type Config struct { // show / hide config Show Show 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 } // Response defines the http response type Response struct { StatusCode int ResponseLines int ResponseWords int ResponseChars int FuzzWord string } // Found contains a list of all found endpoints an an Amount value indicating // how many entries exist type Found struct { Amount int `json:"amount"` Endpoint []Endpoint `json:"endpoint"` } // Endpoint defines an endpoint that has been found type Endpoint struct { Path string `json:"path"` Code string `json:"code"` Chars int `json:"chars"` Words int `json:"words"` Lines int `json:"lines"` } type channels struct { wordlistChannel chan string printChannel chan Response doneChannel chan int }