worawit / MS17-010

MS17-010
2.14k stars 1.1k forks source link

i have a lof of wrongs ,can you help me? #18

Open z0edff0x3d opened 6 years ago

z0edff0x3d commented 6 years ago

我这边测试的时候是这样的,您看下您那边能帮我指导指导吗?

Traceback (most recent call last): File "./zzz_exploit.py", line 996, in exploit(target, pipe_name) File "./zzz_exploit.py", line 794, in exploit conn.login(USERNAME, PASSWORD, maxBufferSize=4356) File "/root/桌面/MS17-010-master/mysmb.py", line 152, in login smb.SMB.login(self, user, password, domain, lmhash, nthash, ntlm_fallback) TypeError: login() takes at most 6 arguments (7 given)

X3eRo0 commented 6 years ago

Did you checked if the OS is vulnerable or not. When I did it I had the same problem because I didn't checked if my os is patched against it or not and later when I checked with cheker.py I found that my PC was patched so maybe that's why the error is occurring

timothyleung commented 6 years ago

Have to use the updated mysmb