digTarget return the output of the dig command for target
()
| 96 | |
| 97 | // digTarget return the output of the dig command for target |
| 98 | func digTarget() ([]byte, error) { |
| 99 | out, err := exec.Command("dig", *target).Output() |
| 100 | return out, err |
| 101 | } |
| 102 | |
| 103 | // digTarget return the output of the dig command for target |
| 104 | func curlTarget() ([]byte, error) { |