We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CryptProtectMemory这个API调用其实出错了,没有效果
The text was updated successfully, but these errors were encountered:
发现问题了,加密大小必须为16的倍数,修改后的代码: shellcode, _ := hex.DecodeString(scxor) var BlockNum = len(shellcode) / 16 if len(shellcode)%16 != 0 { BlockNum += 1 } _, _, err = procCryptProtectMemory.Call(uintptr(unsafe.Pointer(&shellcode)), uintptr(BlockNum*16), uintptr(0x00))
Sorry, something went wrong.
No branches or pull requests
CryptProtectMemory这个API调用其实出错了,没有效果


The text was updated successfully, but these errors were encountered: