library/src/exploitation/WebExploitation/BP-WebExploitation.cc
// Sets the XSS check pointer in the assessment (can use dummy lists)
Sets the XSS check pointer in the assessment (can use dummy lists)
Sets the XSS check pointer in the assessment ( can use dummy lists )
size_t BP_SetAssessmentXSSChecks(P_BP_WEB_ASSESSMENT assessment, P_BP_WEB_XSS_TEST xssChecks)
{
	if (!xssChecks || !assessment)
		return ERR_FAILURE;
	assessment->xssChecks = xssChecks;
	return ERR_SUCCESS;
}
size_t BP_SetAssessmentXSSChecks ( P_BP_WEB_ASSESSMENT assessment , P_BP_WEB_XSS_TEST xssChecks ) { if ( ! xssChecks || ! assessment ) return ERR_FAILURE ; assessment -> xssChecks = xssChecks ; return ERR_SUCCESS ; }
Sets the XSS check pointer in the assessment (can use dummy lists)
Sets the XSS check pointer in the assessment ( can use dummy lists )
// ensure that we have an assessment and some checks to set // set the duplicate // return indicating success