joxeankoret / CVE-2017-7494

Remote root exploit for the SAMBA CVE-2017-7494 vulnerability
GNU General Public License v3.0
255 stars 80 forks source link

Cannot resolve local IP address. #2

Closed Nassz closed 7 years ago

Nassz commented 7 years ago

Traceback (most recent call last): File "cve_2017_7494.py", line 212, in main() File "cve_2017_7494.py", line 206, in main if exploit.exploit(): File "cve_2017_7494.py", line 161, in exploit if not self.make_library(): File "cve_2017_7494.py", line 89, in make_library raise Exception("Cannot resolve local IP address!") Exception: Cannot resolve local IP address!

joxeankoret commented 7 years ago

It might have something to do with your /etc/hosts file. Please take a look if anything there is wrong.

Nassz commented 7 years ago

Hi, no issues with hosts.

joxeankoret commented 7 years ago

Then, use the command line option --host "your hostname or ip".