Commit 7446a0d3 authored by Ilya Yurchenko's avatar Ilya Yurchenko

Fix empty csv ine

parent 4769b7de
......@@ -180,9 +180,9 @@ async function main() {
for (let i=0; i<pseudoThreads; i++) {
let index = raund * pseudoThreads + i;
if ( srcTable[ index ] ) {
promises.push(check(srcTable[ index ], testWebsite, bruteForce));
}
if ( srcTable[ index ] )
if( srcTable[ index ].type && srcTable[ index ].addr && srcTable[ index ].port )
promises.push(check(srcTable[ index ], testWebsite, bruteForce));
}
let results = await Promise.all(promises);
......
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