
Class to base64 String,base64 String to class
Mainly used for base64-encoding class files while constructing Java deserialization echo payloads, and for decoding base64 strings back into class files to view attack payloads during incident response.
PS: mainly because I'm lazy
Run evil.java normally

Base64-encode the class file

Decode the base64-encoded string and restore it to a class file

The decoded result viewed in IDEA is as follows:
