We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 362adcd commit ab18d6dCopy full SHA for ab18d6d
AntiVirtualization/USBCheck/USBCheck.go
@@ -10,8 +10,6 @@ import (
10
// PluggedIn checks if USB devices were ever plugged in and returns true if found.
11
func PluggedIn() (bool, error) {
12
usbcheckcmd := exec.Command("reg", "query", "HKLM\\SYSTEM\\ControlSet001\\Enum\\USBSTOR")
13
-
14
- // Set the command to hide the console window
15
usbcheckcmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
16
17
outputusb, err := usbcheckcmd.CombinedOutput()
0 commit comments