library/src/exploitation/ModularExploitation/BP-ModularExploitation.cc
// Load an exploit module into the current session
Load an exploit module into the current session
Load an exploit module into the current session
BP_ERROR_T BP_MEUnloadExploitModule
(
		P_BP_MODULAR_EXPLOITATION_SESSION session,
		P_BP_EXPLOIT_MODULE               module
)
{
	if(!module)
		return ERR_FAILURE;
	if(!module->exploit_unload_fn)
		return ERR_FAILURE;
	return module->exploit_unload_fn((void *) module);
}
BP_ERROR_T BP_MEUnloadExploitModule ( P_BP_MODULAR_EXPLOITATION_SESSION session , P_BP_EXPLOIT_MODULE module ) { if ( ! module ) return ERR_FAILURE ; if ( ! module -> exploit_unload_fn ) return ERR_FAILURE ; return module -> exploit_unload_fn ( ( void * ) module ) ; }
Load an exploit module into the current session
Load an exploit module into the current session
// ensure we have a module // check to see that we have an unload function set // unload the module by calling the unload function