()
| 18 | } |
| 19 | |
| 20 | func (w *WebFuzz) Get() proxy.ProxyList { |
| 21 | resp, err := tool.GetHttpClient().Get(w.Url) |
| 22 | if err != nil { |
| 23 | return nil |
| 24 | } |
| 25 | defer resp.Body.Close() |
| 26 | body, err := ioutil.ReadAll(resp.Body) |
| 27 | if err != nil { |
| 28 | return nil |
| 29 | } |
| 30 | |
| 31 | return FuzzParseProxyFromString(string(body)) |
| 32 | } |
| 33 | |
| 34 | func (w *WebFuzz) Get2Chan(pc chan proxy.Proxy, wg *sync.WaitGroup) { |
| 35 | defer wg.Done() |
no test coverage detected