whoIs return the whois output of the targ
()
| 78 | |
| 79 | // whoIs return the whois output of the targ |
| 80 | func whoIs() ([]byte, error) { |
| 81 | out, _ := exec.Command("whois", *target).Output() |
| 82 | return out, nil |
| 83 | } |
| 84 | |
| 85 | // getTargetWayBackUrl return the wayback url from the endpoint https://archive.org/help/wayback_api.php |
| 86 | func getTargetWayBackURL() ([]byte, error) { |