fuzzing.fuzz_result

class asdfuzz.fuzzing.fuzz_result.FuzzResult(row_number: int, response: Response, fuzz_string: str, deviation_for_highlighting: float = 0.1, original_time: float | None = None, original_header_size: int | None = None, original_data_size: int | None = None)

Bases: object

After the fuzzer executes a request and response sequence, a FuzzResult is created, containing the response and utility functions for highlighting.

deviation_for_highlighting: float = 0.1

Relative deviation above and below which the response duration or size will be highlighted. A value of 0.1 indicates that the response duration or size will be highlighted if it deviates more than 10% from the original request.

fuzz_string: str

String that was used for the fuzz replacement.

original_data_size: int | None = None

Data size of the unmodified request in bytes.

original_header_size: int | None = None

Header size of the unmodified request in bytes.

original_time: float | None = None

Time in seconds of the unmodified request.

print()

Print the highlighted results of a single fuzz result.

static print_header()

Print the header that appears above every fuzzing section.

response: Response

HTTP response from the server.

row_number: int

Row number of the fuzz result in the current section. Will be printed.