library/src/exploitation/WebExploitation/CommandExecution/BP-WebExploitationCommandExecution.cc
// Adds a file verification test to an injection element.
Adds a file verification test to an injection element.
Adds a file verification test to an injection element .
BP_ERROR_T BP_CommandInjectionAddFileVerificationTestToInjectionElement
(
		P_BP_WEB_COMMAND_INJECTION_ELEMENT                    cmd_injection_element,
		P_BP_WEB_COMMAND_INJECTION_FILE_VERIFICATION_TEST file_verification_test
)
{
	if(!cmd_injection_element)
		return ERR_FAILURE;
	if(!file_verification_test)
		return ERR_FAILURE;
	return ERR_SUCCESS;
}
BP_ERROR_T BP_CommandInjectionAddFileVerificationTestToInjectionElement ( P_BP_WEB_COMMAND_INJECTION_ELEMENT cmd_injection_element , P_BP_WEB_COMMAND_INJECTION_FILE_VERIFICATION_TEST file_verification_test ) { if ( ! cmd_injection_element ) return ERR_FAILURE ; if ( ! file_verification_test ) return ERR_FAILURE ; return ERR_SUCCESS ; }
Adds a file verification test to an injection element.
Adds a file verification test to an injection element .
// ensure we have a command injection element // ensure we have a file verification test // return indicating success