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?
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".
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.