katana.units.web.form_submit
— Auto-submit Forms¶
Basic HTTP form submission
This unit will attempt to submit an HTTP form with no data, if just to find another endpoint accessible on a website.
This unit inherits from katana.units.web.WebUnit
as that contains
lots of predefined variables that can be used throughout multiple web units.
-
class
katana.units.web.form_submit.
Unit
(*args, **kwargs) Bases:
katana.units.web.WebUnit
-
GROUPS
= ['web', 'form_submit'] These are “tags” for a unit. Considering it is a Web unit, “web” is included, as well as the name of the unit, “cookies”.
-
PRIORITY
= 20 Priority works with 0 being the highest priority, and 100 being the lowest priority. 50 is the default priorty. This unit has a higher priority.
-
RECURSE_SELF
= True This unit should not recurse into itself.
-
evaluate
(case: Any) Evaluate the target. Submit an HTTP form.
Parameters: case – A case returned by enumerate
. For this unit, theenumerate
function is not used.Returns: None. This function should not return any data.
-