fuzzing.http.cookie

class asdfuzz.http.cookie.Cookie(key: bytes, value: bytes | None)

Bases: object

A cookie in a HTTP header.

fuzz = True

Whether to fuzz this cookie.

key: bytes

The key of the cookie (part before the equals-sign).

update_value_based_on_json_in_base64()

Base64-urlencoded JSON data in the cookie can be fuzzed by modifying the json_in_base64 parameter. After updating json_in_base64, call update_value_based_on_json_in_base64 to reflect the JSON data in the value parameter.

value: bytes | None

The value of the cookie (part after the equals-sign). Can be empty.