()
| 359 | } |
| 360 | |
| 361 | function getPortIPList() { |
| 362 | clearErrorHandler(); |
| 363 | PAGE = 1; |
| 364 | var id = this.id.substring(1); |
| 365 | var url; |
| 366 | currentPort = id; |
| 367 | if (portSource === "censys") { |
| 368 | url = api_map["censys_ports"] + "?port=" + id + "&type=ip_only&"; |
| 369 | } else { |
| 370 | url = api_map["zgrab_root"] + id + "/ips?"; |
| 371 | } |
| 372 | |
| 373 | PAGING_URLS["ip"] = url; |
| 374 | |
| 375 | url = url + "limit=" + LIMIT.toString() + "&page=" + PAGE.toString(); |
| 376 | |
| 377 | make_get_request(url, displayIPList); |
| 378 | } |
| 379 | |
| 380 | function displayDomainList(json_results) { |
| 381 | if (json_results.length >= LIMIT || PAGE > 1) { |
nothing calls this directly
no test coverage detected