Study security topics through free multiple-choice quizzes, review explanations, and track your progress across modules.
You're analyzing a C++ program that handles user input. Identify the vulnerability in this code that could lead to arbitrary code execution.
void process_input(char *in) {
char buf[64];
strcpy(buf, in);
printf("Input: %s\n", buf);
}
int main() {
char input[256];
gets(input);
process_input(input);
return 0;
}
Prepare for certification exams with realistic practice questions.
Choose a module to start practicing. Each module contains multiple-choice cybersecurity questions.
Master the skills needed for industry-leading cybersecurity certifications