diff --git a/chaos_monkey/exploit/smbexec.py b/chaos_monkey/exploit/smbexec.py index f1b8c5d38..17c2bb979 100644 --- a/chaos_monkey/exploit/smbexec.py +++ b/chaos_monkey/exploit/smbexec.py @@ -10,7 +10,7 @@ from network import SMBFinger try: from impacket import smb from impacket import uuid - from impacket.dcerpc import dcerpc + #from impacket.dcerpc import dcerpc from impacket.dcerpc.v5 import transport, scmr from impacket.smbconnection import SessionError as SessionError1, SMB_DIALECT from impacket.smb import SessionError as SessionError2 diff --git a/chaos_monkey/exploit/win_ms08_067.py b/chaos_monkey/exploit/win_ms08_067.py index 44a4fb351..d42618967 100644 --- a/chaos_monkey/exploit/win_ms08_067.py +++ b/chaos_monkey/exploit/win_ms08_067.py @@ -21,8 +21,8 @@ from network import SMBFinger try: from impacket import smb from impacket import uuid - from impacket.dcerpc import dcerpc - from impacket.dcerpc import transport + #from impacket.dcerpc import dcerpc + from impacket.dcerpc.v5 import transport from impacket.smbconnection import SessionError as SessionError1 from impacket.smb import SessionError as SessionError2 from impacket.smb3 import SessionError as SessionError3