From 6a486165e55a450cc9ac9d7997b581ab103f9490 Mon Sep 17 00:00:00 2001 From: acepace Date: Tue, 1 Mar 2016 13:19:45 +0200 Subject: [PATCH] Fixed broken imports --- chaos_monkey/exploit/smbexec.py | 2 +- chaos_monkey/exploit/win_ms08_067.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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