()
| 44 | s.PassWord = password |
| 45 | } |
| 46 | func (s *Fofa) GetResult() Result { |
| 47 | s.result = Result{} |
| 48 | switch s.Type { |
| 49 | case "subdomain": |
| 50 | s.GetSubDomain(1) |
| 51 | case "sameserver": |
| 52 | s.GetIp(1) |
| 53 | case "ports": |
| 54 | s.GetPorts() |
| 55 | } |
| 56 | return s.result |
| 57 | } |
| 58 | func (s *Fofa) Login(ReLogin bool) bool { |
| 59 | //s.http = HttpHelper{} |
| 60 | return true |