Skip to content

WIP: Exporting salts in SimpleClassSaltTransformer #12

@SpigotRCE

Description

@SpigotRCE

Since class salt getter is basically a map with plain references and values, it can be refactored into file which is compressed and additionally encrypted and it contains class name with its package and an int. We encode the file in the following way: <length>[<string length><class name in bytes><int>]

The order in obfuscation goes like this: encode the map -> compress using something like zlib -> encrypt using xor or aes
During run time, the order goes like this: decrypt using appropriate algorithm -> decompress using appropriate algorithm -> deserialize the bytes into the map

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions