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

Unable to run ./escan #16

Closed EraDevR closed 2 years ago

EraDevR commented 2 years ago

Scanner started at 08:20:34 , Please Wait ./escan: line 684: /usr/local/share/Eternal_Scanner/stat: No such file or directory ./escan: line 685: elog: command not found

./escan: line 685: /usr/local/share/Eternal_Scanner/pid.tmp: No such file or directory Scanner stopped/finished at 08:20:34 Scanner results not found

EraDevR commented 2 years ago

I install escan over /opt directory was that a mistake

EraDevR commented 2 years ago

I don't know specifically if I deleted the file "elog" from this folder "/usr/local/sbin/

Solution: By peterpt

wget https://raw.githubusercontent.com/peterpt/eternal_scanner/master/elog -O /usr/local/sbin/elog

and then write chmod +x /usr/local/sbin/elog

and everything will be fine.

EraDevR commented 2 years ago

SOLVED!!! Solution: An important dependency was missing Write (escan -u) to update Eternal scanner.

No root: User ( such as if command: su - )

>>> sudo ./escan -u

Dependency missing: over Directory and escan and elog file

/usr/local/sbin/escan

/usr/local/sbin/elog