cybersecurity · beginner · ~15 min · safe pentest lab
Apply an alerting threshold.
Implement int is_bruteforce(int failed_count, int threshold) returning 1 if failed_count >= threshold, else 0.
int is_bruteforce(int failed_count, int threshold) {
/* TODO */
return 0;
}
Solve this exercise in the browser editor — compile and run against the test harness, no setup required.