Commit b94b106b authored by CompileNix's avatar CompileNix

format code according to JsStandard

parent 6373aaff
This diff is collapsed.
"use strict";
'use strict'
let Netmask = require("netmask").Netmask;
let FtpScanner = require("./lib/FtpScanner.js");
let Netmask = require('netmask').Netmask
let FtpScanner = require('./lib/FtpScanner.js')
let outfile = "tmp.html";
let countOfParalellJobWorker = 400;
let ipAddressBlock = new Netmask("151.217.0.0/16"); // CCC Event IPv4 Subnet
let ipAddresses = [];
let outfile = 'tmp.html'
let countOfParalellJobWorker = 400
let ipAddressBlock = new Netmask('151.217.0.0/16') // CCC Event IPv4 Subnet
let ipAddresses = []
ipAddressBlock.forEach((ip) => {
ipAddresses.push(ip);
});
ipAddresses.push(ip)
})
let ftpScanner = new FtpScanner(ipAddresses, outfile, undefined);
ftpScanner.WriteOutputHeaderHtml("compilenix.org", "ftpscan", "archive");
let ftpScanner = new FtpScanner(ipAddresses, outfile, undefined)
ftpScanner.WriteOutputHeaderHtml('compilenix.org', 'ftpscan', 'archive')
for (var i = countOfParalellJobWorker; i > 0; i--) {
if (ipAddresses.length > 0) {
ftpScanner.StartProcessingOfNextJob();
}
if (ipAddresses.length > 0) {
ftpScanner.StartProcessingOfNextJob()
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment