Open WHots opened 1 year ago
UPDATE: So if you remove the parts grabbing the SerialNumbers, It will run with no errors displayed.. and i have a of check lol..
so the only thing it's grabbing is Manufacturer and ProductName.. BUUUUUT it still does not change anything... so yeah kinda lost, it runs with no errors but doesn't work lmao.
This project is old and the parsing is not well written. Just recreate the tables from scratch and replace them completely.
Windows 10, 22H2
Build: Debug, x64 Character Set: User Multi-Byte Character Set
Checking SMBIOs data before and after loading with OSR is use: https://github.com/KunYi/DumpSMBIOS/tree/main
DriverEntry
`extern "C" NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) { DriverObject->DriverUnload = Unload; DbgPrint("[*]\tDriver ini...");
}`
RandomText/GetString/RandomizeString
`void RandomText(char* text, const int length) {
}
char GetString(SMBIOS_HEADER header, SMBIOS_STRING string) { const auto start = reinterpret_cast<const char>(header) + header->Length;
}
void RandomizeString(char* string) {
}`
ProcessTable/LoopTables/SpoofSMBIOSCleaner
` void ProcessTable(SMBIOS_HEADER* header) {
}
void LoopTables(void* mapped, ULONG size) {
}
void SpoofSMBIOSCleaner() {
} `
In my kernel debug log I'm getting error for ..
[!] GetString: string is null [!] RandomizeString: string is null
And that's it, just once for each.. no other errors are raised... any solution for this, or does this method not work for 22h2 ?