cybersecurity · beginner · ~15 min · safe pentest lab
Honour the stop conditions in the RoE.
Implement int must_stop(int found_critical, int roe_stop_on_critical) returning 1 if a critical finding occurred AND the rules of engagement say to stop on critical findings.
int must_stop(int found_critical, int roe_stop_on_critical) {
/* TODO */
return 0;
}
Solve this exercise in the browser editor — compile and run against the test harness, no setup required.