Commit fd3e9cce authored by CompileNix's avatar CompileNix

remove unused field ipAddressesCount

parent 383e3e0a
......@@ -14,7 +14,6 @@ class FtpScanner {
this.outFileHtml = outFileHtml
this.outFileJson = outFileJson
this.ipAddresses = ipAddresses
this.ipAddressesCount = ipAddresses.length
this.outputBuffer = ''
this.done = false
}
......@@ -115,7 +114,7 @@ class FtpScanner {
tcpSocket.write('USER anonymous\nPASS 35c3\nPASV\nLIST\nQUIT\n')
})
tcpSocket.on('error', (error) => {
tcpSocket.on('error', error => {
switch (error.code) {
case 'ECONNREFUSED':
case 'EHOSTUNREACH':
......
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