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

Error in test #3

Closed totoroha closed 7 years ago

totoroha commented 7 years ago

Dear Joxean,

I'm testing one of my vulnerability machine with samba smbd 4.3.8-Ubuntu, and found your code. I tried to reproduce the exploit but this is the error which i got:

python cve_2017_7494.py -t 192.168.1.220 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!

Can you tell me where i did wrong? do i need to change the IP address in config file?

Thank you so much for your help.

joxeankoret commented 7 years ago

I haven't been able to reproduce it myself but with yours I have had a couple of reports. Just use the command line option --host "your hostname or ip".

totoroha commented 7 years ago

Yes i will provide the information.