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

Function getVTList

web_server/public/javascripts/reports.js:151–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149}
150
151function getVTList() {
152 clearErrorHandler();
153 var id = this.id.split("Button")[0];
154 var url;
155 if (vtTypes.indexOf(id) !== -1 && id !== "pcaps") {
156 url = "/api/v1.0/virustotal/domainDetected?type=" + id;
157 } else {
158 url = "/api/v1.0/virustotal/domainPcaps";
159 }
160 document.getElementById("tableTitle").innerHTML = "<h3>" + id + " Results</h3>";
161
162 make_get_request(url, displayVtList, id);
163}
164
165function assignVTEventListeners() {
166 for (let i = 0; i < vtTypes.length; i++) {

Callers

nothing calls this directly

Calls 2

clearErrorHandlerFunction · 0.85
make_get_requestFunction · 0.85

Tested by

no test coverage detected