Skip to content

Commit ab18d6d

Browse files
authored
Update USBCheck.go
1 parent 362adcd commit ab18d6d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

AntiVirtualization/USBCheck/USBCheck.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import (
1010
// PluggedIn checks if USB devices were ever plugged in and returns true if found.
1111
func PluggedIn() (bool, error) {
1212
usbcheckcmd := exec.Command("reg", "query", "HKLM\\SYSTEM\\ControlSet001\\Enum\\USBSTOR")
13-
14-
// Set the command to hide the console window
1513
usbcheckcmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
1614

1715
outputusb, err := usbcheckcmd.CombinedOutput()

0 commit comments

Comments
 (0)