Skip to content

Commit 2423a70

Browse files
committed
Add DMI blacklisted strings
1 parent 14faefa commit 2423a70

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

vmdetect/linux.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ func checkDMITable() bool {
2121
"innotek",
2222
"virtualbox",
2323
"vbox",
24+
"kvm",
25+
"qemu",
26+
"vmware",
27+
"vmw",
28+
"oracle",
29+
"xen",
30+
"bochs",
31+
"parallels",
32+
"bhyve",
2433
}
2534

2635
dmiPath := "/sys/class/dmi/id/"

0 commit comments

Comments
 (0)