Expand description
Utility functions used by VM detection techniques. Includes file I/O, registry access, process checking, OS queries, etc.
Modules§
Functions§
- dir_
exists - Check if a directory exists.
- file_
exists - Check if a file exists.
- find
- Check if a string contains a substring (case-sensitive).
- find_ci
- Check if a string contains a substring (case-insensitive).
- get_
hostname - Get the hostname of the system.
- get_
username - Get the current username.
- read_
file - Read a file to string, returning None on failure.
- run_
command - Run a command and capture stdout. Returns None on failure.
- thread_
count - Get the number of logical CPUs/threads.