How to use evilscan - 1 common examples

To help you get started, we’ve selected a few evilscan examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jfrux / workbench / app / main / services / network-scanner.js View on Github external
return new Promise((resolve, reject) => {
      const scanner = new evilscan({
        target: ip,
        port:'8022',
        status:'O'
      });
      scanner.on('result', (data) => {
        if (data.status === "open") {
          writeLog("Found EON at ", data.ip);
          sender.send(types.SCAN_NETWORK_RESULT,data);

          writeLog(`Found open port on ${ip}`);
        }
      });
      scanner.on('error', (err) => {
        // writeLog('Error:',err);
        writeLog(`Failed to scan ${ip}...`, err);
        reject(err);

evilscan

Simple ports scanner for node.

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Popular evilscan functions