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)- A9% (4)
- B84% (37)
- C5% (2)
- D2% (1)
Community Discussion
No community discussion yet for this question.