nerdexam
EC-Council

312-92 · Question #94

Charles is writing a script in PERL for a website he is working on. The only problem he is having is that part of his script needs to call a file that a normal user does not have permission to…

The correct answer is B. Setuid. See the full explanation below for the reasoning.

Question

Charles is writing a script in PERL for a website he is working on. The only problem he is having is that part of his script needs to call a file that a normal user does not have permission to access. What PERL command could Charles use to elevate the current user's permission so that the file could be called?

Options

  • ATaint
  • BSetuid
  • CStrict pragma
  • DSetid()

How the community answered

(44 responses)
  • A
    9% (4)
  • B
    84% (37)
  • C
    5% (2)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 312-92 Practice