forked from p15670423/monkey
Agent: fix a bug in wmi_tools
Fix a bug in wmi connection cleanup where incorrect keys were being used on a dictionary
This commit is contained in:
parent
4832bc12d9
commit
afc43ae806
|
@ -88,7 +88,7 @@ class WmiTools(object):
|
|||
for port_map in list(DCOMConnection.PORTMAPS.keys()):
|
||||
del DCOMConnection.PORTMAPS[port_map]
|
||||
for oid_set in list(DCOMConnection.OID_SET.keys()):
|
||||
del DCOMConnection.OID_SET[port_map]
|
||||
del DCOMConnection.OID_SET[oid_set]
|
||||
|
||||
DCOMConnection.OID_SET = {}
|
||||
DCOMConnection.PORTMAPS = {}
|
||||
|
|
Loading…
Reference in New Issue