library/src/exploitation/WebExploitation/CommandExecution/BP-WebExploitationCommandExecution.cc
// Attempt to lock assessment semaphore.
Attempt to lock assessment semaphore.
Attempt to lock assessment semaphore .
BP_ERROR_T BP_CommandInjectionLockAssessment(P_BP_WEB_COMMAND_INJECTION_TEST_SESSION cmd_injection_session)
{
	if(!cmd_injection_session)
		return ERR_FAILURE;
	sem_wait(&cmd_injection_session->lock);
	return ERR_SUCCESS;
}
BP_ERROR_T BP_CommandInjectionLockAssessment ( P_BP_WEB_COMMAND_INJECTION_TEST_SESSION cmd_injection_session ) { if ( ! cmd_injection_session ) return ERR_FAILURE ; sem_wait ( & cmd_injection_session -> lock ) ; return ERR_SUCCESS ; }
Attempt to lock assessment semaphore.
Attempt to lock assessment semaphore .
// wait on the semaphore // return indicating success