(url string, hashmap map[string]interface{})
| 9 | ) |
| 10 | |
| 11 | func Sevice(url string, hashmap map[string]interface{}) { |
| 12 | log.Debugf("[*] Start attack %s", url) |
| 13 | pocs := make(map[string]interface{}) |
| 14 | a := addPoc(pocs) |
| 15 | //for k, v := range hashmap { |
| 16 | // log.Debugln("key: ", k, " value: ", v) |
| 17 | //} |
| 18 | //for _, v := range a { // 循环调用poc |
| 19 | // t := v.(poc.PoC) |
| 20 | // t.SendPoc(url, hashmap) |
| 21 | //} |
| 22 | attack(url, a, hashmap) |
| 23 | |
| 24 | } |
| 25 | |
| 26 | func init() { |
| 27 | log.Debug("[*] Init attack") |