Category : registry

I’m trying to make a windows registry sub-key named Environment under HKEY_USERS Admin account using python winreg tool but I keep getting invalid parameter error which I don’t know why. The function fails when calling CreateKey() with error OSError: [WinError 87] The parameter is incorrect. def edit_reg(key, subkey: str, key_name: str, value): print(f"[+] key: {key}") ..

Read more

I’m trying to make a windows registry sub-key named Environment under HKEY_USERS using python winreg tool but I keep getting invalid parameter error which I don’t know why. The function that create the key and the value def edit_reg(key, subkey: str, key_name: str, value): print(f"[+] key: {key}") print(f"[+] Subkey: {subkey}") print(f"[+] Value: {value}") print("[+] Key ..

Read more

As the header suggests what is the ‘best’ way to convert registry data types to their c# equivalent types? Here is my answer but I know it can be very dangerous: using Microsoft.Win32; /// <summary> /// This abomination is heresy in the eyes of the machine god. I shal burn in eternal damnation for writing ..

Read more