MCPcopy Create free account
hub / github.com/adobe/Marinus / getPortIPList

Function getPortIPList

web_server/public/javascripts/meta.js:361–378  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359}
360
361function 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
380function displayDomainList(json_results) {
381 if (json_results.length >= LIMIT || PAGE > 1) {

Callers

nothing calls this directly

Calls 2

clearErrorHandlerFunction · 0.85
make_get_requestFunction · 0.85

Tested by

no test coverage detected