katana.units.stego.jsteg — Run jsteg

Extract hidden data with jsteg

This unit will extract hidden data file using the jsteg command-line utility. The syntax runs as:

jsteg reveal <target_path>

The unit inherits from katana.unit.FileUnit to ensure the target is a JPG file.

class katana.units.stego.jsteg.Unit(manager: katana.manager.Manager, target: katana.target.Target)

Bases: katana.unit.FileUnit

DEPENDENCIES = ['jsteg']

Required depenencies for this unit “jsteg”

GROUPS = ['stego', 'image', 'jsteg']

These are “tags” for a unit. Considering it is a Stego unit, “stego” is included, as well as the tag “image”, and the unit name itself, “jsteg”.

PRIORITY = 30

Priority works with 0 being the highest priority, and 100 being the lowest priority. 50 is the default priorty. This unit has a higher priority for matching units

evaluate(case)

Evaluate the target. Run jsteg on the target and recurse on any newfound 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.