katana.units.raw.ascii85 — Decode Ascii85

Decode Ascii85 encoded text

This is done by the Python3 base64 module which has the a85decode function.

class katana.units.raw.ascii85.Unit(manager: katana.manager.Manager, target: katana.target.Target)

Bases: katana.unit.Unit

GROUPS = ['raw', 'decode', 'ascii85']

These are “tags” for a unit. Considering it is a Raw unit, “raw” is included, as well as the tag “decode”, and the unit name “ascii85”

PRIORITY = 60

Priority works with 0 being the highest priority, and 100 being the lowest priority. 50 is the default priorty. This unit has a low priority unit, because it is uncommon and highly matching.

evaluate(case: Any)

Evaluate the target. Run base64.a85decode on the target and recurse on any new found information.

Parameters:case – A case returned by enumerate. For this unit, the enumerate function is not used.
Returns:None. This function should not return any data.