diff --git a/docs/documentation.md b/docs/documentation.md index dab3378..4886133 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -213,6 +213,8 @@ VMAware provides a convenient way to not only check for VMs, but also have the f | `VM::HYPERV_WMI` | Check for Hyper-V wmi output | Windows | 80% | | | `VM::HYPERV_REG` | Check for Hyper-V strings in registry | Windows | 80% | | | `VM::BIOS_SERIAL` | Check if BIOS serial number is null | Windows | 60% | | +| `VM::VBOX_FOLDERS` | Check for VirtualBox-specific string for shared folder ID | Windows | 45% | | +| `VM::VBOX_MSSMBIOS` | Check VirtualBox MSSMBIOS registry for VM-specific strings | Windows 75% | |
diff --git a/src/cli.cpp b/src/cli.cpp index 9c3589f..19402d3 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -116,6 +116,8 @@ int main(int argc, char* argv[]) { checker(VM::BIOS_SERIAL, "BIOS serial number"); checker(VM::HYPERV_WMI, "Hyper-V WMI"); checker(VM::HYPERV_REG, "Hyper-V registry"); + checker(VM::VBOX_FOLDERS, "VirtualBox shared folders"); + checker(VM::VBOX_MSSMBIOS, "VirtualBox MSSMBIOS"); std::printf("\n"); diff --git a/src/vmaware.hpp b/src/vmaware.hpp index 29e91be..c338b74 100644 --- a/src/vmaware.hpp +++ b/src/vmaware.hpp @@ -3920,7 +3920,10 @@ struct VM { /** * @brief Check VirtualBox MSSMBIOS registry for VM-specific strings - * + * @category Windows + * @note slightly modified from original code + * @author @waleedassar + * @link https://pastebin.com/fPY4MiYq */ [[nodiscard]] static bool vbox_mssmbios() try { if (disabled(VBOX_MSSMBIOS)) {