peterpt / eternal_scanner

An internet scanner for exploit CVE-2017-0144 (Eternal Blue) & CVE-2017-0145 (Eternal Romance)
MIT License
318 stars 105 forks source link

Opps , not connected to Internet #7

Closed GenKoc closed 6 years ago

GenKoc commented 6 years ago

Hi. Have a problem, when launch escan " Opps , not connected to Internet". But the connection is ok(i running msf, nmap and other programs). Where is the problem?

peterpt commented 6 years ago

Simple , on lines 721 , 734 , 748,844,920,959,995 https://github.com/peterpt/eternal_scanner/blob/master/escan eternal scanner does a checkup using netcat on google.com on port 80 (nc command) , if it is successfully then it continues , else it drops that message . By default , netcat is installed in every linux OS , maybe in yours is not .

try : apt-get install netcat

I did not place a netcat checkup on the main script because by default is installed .

GenKoc commented 6 years ago

yeah. hadnt netcat on my vds)). Thanks!