katnip.controllers.client.facedancer module

This controller is used to signal the SAS version of the Facedancer stack to perform a USB reset.

class katnip.controllers.client.facedancer.ClientFacedancerController(name, restart_file='/tmp/restart_facedancer', logger=None)

Bases: kitty.controllers.client.ClientController

ClientFacedancerController is a controller that uses files in /tmp to communicate with the facedancer stack. .. note:: This requires a modified version of the facedancer stack.

RESTART_FILE = '/tmp/restart_facedancer'
__init__(name, restart_file='/tmp/restart_facedancer', logger=None)
Parameters:
  • name – name of the object
  • controller_port – the device controller port (i.e. ‘/dev/ttyACM0’)
  • connect_delay
  • logger – logger for the object (default: None)
trigger()

Trigger a data exchange from the tested client