katnip.targets.pykd_dbg module¶
-
class
katnip.targets.pykd_dbg.
PykdTarget
(name, process_path, process_args=[], break_points=[], handler=None, logger=None, timeout=3)¶ Bases:
kitty.targets.server.ServerTarget
PykdTarget will run an application for each fuzzed payloads. To use PykdTarget your need install PYkd and Windbg first. Document link https://pykd.codeplex.com/documentation.
-
__init__
(name, process_path, process_args=[], break_points=[], handler=None, logger=None, timeout=3)¶ Parameters: - name – name of the object.
- process_path – path to the target executable.
- process_args – arguments to pass to the process.
- break_points – break points to set.
- handler – pykd event handler.
- logger – logger for this object (default: None)
- timeout – seconds to wait for the process before kill (default: 3)
Example: PykdTarget( name='PykdTarget', process_path="/tmp/myApp", process_args=['-a', '-c'] handler=MyEventHandler, break_points=[], timeout=2)
Will run
/tmp/myApp -a -c mutational_data
using pykd for evey mutation with timeout of 2 seconds
-
post_test
(test_num)¶
-
pre_test
(test_number)¶
-
teardown
()¶
-