Skip to content

Commit 0e0efd8

Browse files
committed
Remove unused imports
1 parent 6f73cdc commit 0e0efd8

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

nxc/protocols/wmi/wmiexec.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
import base64
1919
from nxc.helpers.misc import gen_random_string
2020
from impacket.dcerpc.v5.dtypes import NULL
21-
from impacket.dcerpc.v5.dcomrt import DCOMConnection
22-
from impacket.dcerpc.v5.dcom.wmi import CLSID_WbemLevel1Login, IID_IWbemLevel1Login, IWbemLevel1Login
2321

2422

2523
class WMIEXEC:

nxc/protocols/wmi/wmiexec_event.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
from io import StringIO
2727
from nxc.helpers.powershell import get_ps_script
2828
from impacket.dcerpc.v5.dtypes import NULL
29-
from impacket.dcerpc.v5.dcomrt import DCOMConnection
30-
from impacket.dcerpc.v5.dcom.wmi import CLSID_WbemLevel1Login, IID_IWbemLevel1Login, IWbemLevel1Login, WBEMSTATUS
29+
from impacket.dcerpc.v5.dcom.wmi import WBEMSTATUS
3130

3231

3332
class WMIEXEC_EVENT:

0 commit comments

Comments
 (0)