library/src/exploitation/WebExploitation/BP-WebExploitation.cc
// Utility function to print list objects simply (debug function mainly)
Utility function to print list objects simply (debug function mainly)
Utility function to print list objects simply ( debug function mainly )
void BP_PrintWebAssessmentListLinkage(P_BP_WEB_ASSESSMENT assessment)
{
	if (!assessment)
		return;
	for (assessment = assessment->first; assessment; assessment = assessment->next) {
		printf("\n [+] Assessment: %p", assessment);
		printf("\n     Base URL:   %s", assessment->baseAssessmentURL);
		printf("\n\t\t Linkages: [f] %p [p] %p [n] %p", assessment->first, assessment->prev, assessment->next);
		printf("\n");
	}
	return;
}
void BP_PrintWebAssessmentListLinkage ( P_BP_WEB_ASSESSMENT assessment ) { if ( ! assessment ) return ; for ( assessment = assessment -> first ; assessment ; assessment = assessment -> next ) { printf ( " \n " , assessment ) ; printf ( " \n " , assessment -> baseAssessmentURL ) ; printf ( " \n \t \t " , assessment -> first , assessment -> prev , assessment -> next ) ; printf ( " \n " ) ; } return ; }
Utility function to print list objects simply (debug function mainly)
Utility function to print list objects simply ( debug function mainly )