library/src/exploitation/WebExploitation/BP-WebExploitationExploitRequestSets.cc
// Generate exploit request set from FORM,ANCHOR,COOKIE,HEADER etc.
Generate exploit request set from FORM,ANCHOR,COOKIE,HEADER etc.
Generate exploit request set from FORM ANCHOR COOKIE HEADER etc .
P_BP_WEB_EXPLOIT_REQUEST_SET BP_GenWebExploitRequestSetFromAny
(
		BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_TYPE sub_type,
		BP_WEB_EXPLOIT_REQUEST_SET_VAR_LOOKUP        lookup_type,
		char *                                       lookup_name,
		size_t                                       lookup_index,
		char *                                       substitution_value,
		P_BP_HTTP_REQUEST_HEADER                     header,
		P_BP_HTML_ANCHOR_LIST                        anchor,
		P_BP_HTML_FORM_LIST                          form,
		P_BP_HTML_INPUT_LIST                         form_inputs
)
{
	switch(sub_type)
	{
		case BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_NONE:
			break;
		case BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_ANCHOR:
			break;
		case BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_FORM:
			break;
		case BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_HEADER:
			break;
		case BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_COOKIE:
			break;
		default:
			break;
	}
}
P_BP_WEB_EXPLOIT_REQUEST_SET BP_GenWebExploitRequestSetFromAny ( BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_TYPE sub_type , BP_WEB_EXPLOIT_REQUEST_SET_VAR_LOOKUP lookup_type , char * lookup_name , size_t lookup_index , char * substitution_value , P_BP_HTTP_REQUEST_HEADER header , P_BP_HTML_ANCHOR_LIST anchor , P_BP_HTML_FORM_LIST form , P_BP_HTML_INPUT_LIST form_inputs ) { switch ( sub_type ) { case BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_NONE : break ; case BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_ANCHOR : break ; case BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_FORM : break ; case BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_HEADER : break ; case BP_WEB_EXPLOIT_REQUEST_SET_SUBSTITUTION_COOKIE : break ; default : break ; } }
Generate exploit request set from FORM,ANCHOR,COOKIE,HEADER etc.
Generate exploit request set from FORM ANCHOR COOKIE HEADER etc .
// Switch on the sub type to route to the correct processor.