nerdexam
EC-Council

312-92 · Question #27

Carl is writing cgi-bin scripts in PERL for some web pages. He is concerned about malicious users trying to exploit the site and/or the cgi-sripts. If Carl uses the following code, what will he be abl

Sign in or unlock 312-92 to reveal the answer and full explanation for question #27. The question stem and answer options stay visible for context.

Investigating Web Attacks

Question

Carl is writing cgi-bin scripts in PERL for some web pages. He is concerned about malicious users trying to exploit the site and/or the cgi-sripts. If Carl uses the following code, what will he be able to prevent? $filename =~ s/[^A-Za-z0-9_-.//g

Options

  • ADangerous input expression
  • BAlgorihmic complexity attacks
  • CXSS attack
  • DInsecure environmental variables

Unlock 312-92 to see the answer

You've previewed enough free 312-92 questions. Unlock 312-92 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#input validation#PERL regex#CGI security#injection prevention
Full 312-92 Practice