(type, value)
| 615 | } |
| 616 | |
| 617 | function censys_rec(type, value) { |
| 618 | var url, query; |
| 619 | if (type === "domain") { |
| 620 | url = "/api/v1.0/censys/certs"; |
| 621 | query = "?common_name=" + value; |
| 622 | } else { |
| 623 | url = "/api/v1.0/censys/ips"; |
| 624 | query = "?ip=" + value; |
| 625 | } |
| 626 | |
| 627 | make_get_request(url + query, censysResult, null, "scanInformation"); |
| 628 | } |
| 629 | |
| 630 | function display_scan_output(results, port) { |
| 631 | let data = ""; |
no test coverage detected