library/src/exploitation/WebExploitation/BP-WebExploitation.cc
// Sets the SQL check pointer in assessment
Sets the SQL check pointer in assessment
Sets the SQL check pointer in assessment
size_t BP_SetAssessmentSQLChecks(P_BP_WEB_ASSESSMENT assessment, P_BP_WEB_SQLINJ_TEST sqlChecks)
{
	if (!sqlChecks || !assessment)
		return ERR_FAILURE;
	assessment->sqlChecks = sqlChecks;
	return ERR_SUCCESS;
}
size_t BP_SetAssessmentSQLChecks ( P_BP_WEB_ASSESSMENT assessment , P_BP_WEB_SQLINJ_TEST sqlChecks ) { if ( ! sqlChecks || ! assessment ) return ERR_FAILURE ; assessment -> sqlChecks = sqlChecks ; return ERR_SUCCESS ; }
Sets the SQL check pointer in assessment
Sets the SQL check pointer in assessment
// ensure that we have an assessment and some checks to set // set the duplicate // return indicating success