Easton Man's Channel
10 hours ago
Daniel Lemire's blog
Java4Shell: when base64 decoding leads to remote code execution?
Telegraph
|
source
Telegraph
Java4Shell: when base64 decoding leads to remote code execut…
Let us start with an example that triggers the issue. byte[] src = ("A".repeat(128) + "=").getBytes(StandardCharsets.US_ASCII);Base64.getDecoder().decode(src); One hundred and twenty-eight letters A and one =. The string is not valid base64, and a correct…
Home
Powered by
BroadcastChannel
&
Sepia