library/src/exploitation/WebExploitation/CommandExecution/BP-WebExploitationCommandExecution.cc
// Attempt to unlock assessment semaphore.
Attempt to unlock assessment semaphore.
Attempt to unlock assessment semaphore .
BP_ERROR_T BP_CommandInjectionUnlockAssessment(P_BP_WEB_COMMAND_INJECTION_TEST_SESSION cmd_injection_session)
{
	if(!cmd_injection_session)
		return ERR_FAILURE;
	sem_post(&cmd_injection_session->lock);
	return ERR_SUCCESS;
}
BP_ERROR_T BP_CommandInjectionUnlockAssessment ( P_BP_WEB_COMMAND_INJECTION_TEST_SESSION cmd_injection_session ) { if ( ! cmd_injection_session ) return ERR_FAILURE ; sem_post ( & cmd_injection_session -> lock ) ; return ERR_SUCCESS ; }
Attempt to unlock assessment semaphore.
Attempt to unlock assessment semaphore .
// ensure we have a session to work with // unlock semaphore // return indicating success