Skip to content

Commit

Permalink
add(WinDump): new connection type detection
Browse files Browse the repository at this point in the history
  • Loading branch information
kernel-dev committed May 8, 2022
1 parent 0cdc618 commit 4053a9f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/dumps/Windows/win.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import re

import requests
from src.util.codename_manager import CodenameManager
import wmi
from src.util.codename_manager import CodenameManager
from .cpuid import CPUID
from src.util.codename import gpu as _gpu
from src.util.driver_type import driver_type
from src.util.driver_type import protocol
from src.util.pci_root import pci_from_acpi_win
from src.error.cpu_err import cpu_err
from operator import itemgetter
Expand Down Expand Up @@ -488,7 +486,7 @@ def get_kbpd(self, items):
description = item.wmi_property("Description").value
pnp_id = item.wmi_property("PNPDeviceID").value

d_type = driver_type(pnp_id, description, self.c)
d_type = protocol(pnp_id, self.logger, _wmi=self.c)

if d_type:
description += f" ({d_type})"
Expand Down

0 comments on commit 4053a9f

Please sign in to comment.