File extensions · Question 5 of 12

Why is a file named shell.php.jpg a risk?

1 answer is correct. Easy

Show answer

Answer

  • A A wrong server runs it as PHP

Explanation

If the web server evaluates .php in the middle of the name, the file runs as a script. The PHP handler must only apply to files ending in .php.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications