library/src/exploitation/WebExploitation/BP-WebExploitationExploitRequestSets.cc
// generates an exploit request set from an anchor
generates an exploit request set from an anchor
generates an exploit request set from an anchor
BP_ERROR_T BP_DestroyWebExploitRequestSet(P_BP_WEB_EXPLOIT_REQUEST_SET ers)
{
	if(!ers)
		return ERR_FAILURE;
	if(ers->get_str)
	{
		bpfree(ers->get_str);
		ers->get_str = NULL;
	}
	if(ers->post_str)
	{
		bpfree(ers->post_str);
		ers->post_str = NULL;
	}
	bpfree(ers);
	return ERR_SUCCESS;
}
BP_ERROR_T BP_DestroyWebExploitRequestSet ( P_BP_WEB_EXPLOIT_REQUEST_SET ers ) { if ( ! ers ) return ERR_FAILURE ; if ( ers -> get_str ) { bpfree ( ers -> get_str ) ; ers -> get_str = NULL ; } if ( ers -> post_str ) { bpfree ( ers -> post_str ) ; ers -> post_str = NULL ; } bpfree ( ers ) ; return ERR_SUCCESS ; }
generates an exploit request set from an anchor
generates an exploit request set from an anchor
// return indicating success