ThreatGuard
Requests

Malware Detection

Detects currently executable and dll files.

JavaScript Examples

Text Classification

const fetch = require("node-fetch");

(async () => {
  const response = await fetch("https://development.scams.rip/api/scan", {
    method: "POST",
    headers: {
      "apikey": "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({ 
        category: "malware",
        type: "executeable",
    })
  });

  const data = await response.json();
  console.log(data);
})();

Images Classification

const fetch = require("node-fetch");

(async () => {
    const form = new FormData();
    form.append('file', fs.createReadStream("./scam.png"));

  const response = await fetch("https://development.scams.rip/api/scan", {
    method: "POST",
    headers: {
      "apikey": "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({ 
        category: "malware",
        type: "dll",
    })
  });

  const data = await response.json();
  console.log(data);
})();

On this page