kitty.controllers.base module

The controller is in charge of preparing the victim for the test. It should make sure that the victim is in an appropriate state before the target initiates the transfer session. Sometimes it means doing nothing, other times it means starting or reseting a VM, killing a process or performing a hard reset to the victim hardware. Since the controller is reponsible for the state of the victim, it is expected to perform a basic monitoring as well, and report whether the victim is ready for the next test.

class kitty.controllers.base.BaseController(name, logger=None, victim_alive_check_delay=0.3)[source]

Bases: kitty.core.actor.KittyActorInterface

Base class for controllers. Defines basic variables and implements basic behavior.