Skip to content

Commit

Permalink
alpha release attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwernel committed Dec 25, 2023
1 parent c3d6b81 commit 9a07acf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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% | |

<br>

Expand Down
2 changes: 2 additions & 0 deletions src/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
5 changes: 4 additions & 1 deletion src/vmaware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 9a07acf

Please sign in to comment.