kitty.targets.base module

This module defines BaseTarget - the basic target

class kitty.targets.base.BaseTarget(name='BaseTarget', logger=None)[source]

Bases: kitty.core.kitty_object.KittyObject

BaseTarget contains the common logic and behaviour of all target.

__init__(name='BaseTarget', logger=None)[source]
add_monitor(monitor)[source]

Add a monitor

get_report()[source]
get_session_data()[source]

Session related data dictionary to be used by data model.

Returns:dictionary (str, bytes)
post_test(test_num)[source]

Called when test is completed, a report should be prepared now

pre_test(test_num)[source]

Called when a test is started

set_controller(controller)[source]

Set a controller

set_fuzzer(fuzzer)[source]
setup()[source]

Make sure the target is ready for fuzzing, including monitors and controllers

teardown()[source]

Clean up the target once all tests are completed