Commit 383e3e0a authored by CompileNix's avatar CompileNix

revert for..of ipAddressBlock back to ipAddressBlock.forEach, it's not iterable

parent 125f5e0c
......@@ -8,9 +8,7 @@ let countOfParalellJobWorker = 400
let ipAddressBlock = new Netmask('151.217.0.0/16') // CCC Event IPv4 Subnet
let ipAddresses = []
for (const addr of ipAddressBlock) {
ipAddressBlock.push(addr)
}
ipAddressBlock.forEach(addr => ipAddresses.push(addr))
let ftpScanner = new FtpScanner(ipAddresses, /** outFileHtml */ outfile, /** outFileJson */ undefined)
ftpScanner.WriteOutputHeaderHtml('compilenix.org', 'ftpscan', 'archive')
......
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