eviltik / evilscan

NodeJS Simple Network Scanner
https://github.com/eviltik/evilscan
MIT License
547 stars 64 forks source link

Reverse dns callback fix #53

Closed gabemarshall closed 6 years ago

gabemarshall commented 6 years ago

Fix for a ReferenceError that was being thrown when using the reverse DNS module. The "cb" variable was renamed to "callback".

ubuntu@testing:~$ time evilscan 192.168.0.0/24 --port=80,443 --isopen --progress --reverse
Starting (0/506 0%)/usr/local/lib/node_modules/evilscan/index.js:249
                    return cb(null);
                    ^

ReferenceError: cb is not defined
    at QueryReqWrap.dns.reverse [as callback] (/usr/local/lib/node_modules/evilscan/index.js:249:21)

    at QueryReqWrap.onresolve [as oncomplete] (dns.js:197:10)
eviltik commented 6 years ago

Nice shot. Thank you.

eviltik commented 6 years ago

New version will be available soon (few days), let me check npm modules vulnerables dependencies in the same time before push the new version into npm.