Skip to content
Advertisement

Tag: winapi

platform.win32.Win32Exception: The data is invalid | Java

I was writing this code to restore the user’s saved chrome passwords and display them on the console. I was able to decode Base64 encoded. But I am failing in decrying from this Crypt32Util.cryptUnprotectData any help … I am a beginner. 🙂 Main.java Output Answer decoder.decode() returns binary data. You cannot create a String from binary data. If you want

Why does Kernel32 OpenProcess function return null?

I’m trying to make an application that reads the memory of another (non-Java & 32bit) application using JNA. So far I know how to find process ID and base address of modules. And right before reading memory I need to open process and the OpenProcess function simply returns null. Also, I’m using Windows 10. How can I get a process

Advertisement