exam questions

Exam 312-50v12 All Questions

View all questions & answers for the 312-50v12 exam

Exam 312-50v12 topic 1 question 6 discussion

Actual exam question from ECCouncil's 312-50v12
Question #: 6
Topic #: 1
[All 312-50v12 Questions]

What are common files on a web server that can be misconfigured and provide useful information for a hacker such as verbose error messages?

  • A. httpd.conf
  • B. administration.config
  • C. php.ini
  • D. idq.dll
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sausageman
Highly Voted 1 year, 6 months ago
Selected Answer: C
C:php.ini CEH Book v12 Module 13 Page 1163 "As shown in the below figure, the configuration may give verbose error messages. " "Figure 13.12: Screenshot displaying the php.ini file"
upvoted 11 times
...
Mann098
Most Recent 3 months, 3 weeks ago
Selected Answer: C
httpd.conf is also a possible answer but php.ini is correct bcoz it stores error messages also
upvoted 1 times
...
brrbrr
8 months ago
Selected Answer: C
display_errors = on The display_errors directive must be set to “on” in the PHP ini file. This will display all the errors including syntax or parse errors that cannot be displayed by just calling the ini_set function in the PHP code.
upvoted 1 times
...
insaniunt
11 months ago
Selected Answer: C
php.ini page 1791, 312-50 Certified Ethical Hacker
upvoted 1 times
...
Harrysphills
11 months, 3 weeks ago
So, while httpd.conf and php.ini are valid answers, in the context of verbose error messages, php.ini would be a more direct source of such information because it controls the output of errors in PHP, which is a common language for web applications. Verbose error messages can reveal paths, database details, and other sensitive information that can be exploited by a hacker.
upvoted 4 times
...
Harrysphills
11 months, 3 weeks ago
both are correct
upvoted 1 times
...
Takue
1 year, 1 month ago
Correct Answer is C httpd.conf refers to the configuration may allow anyone to view the server status page, which contains detailed information about the current use of the web server, including information about the current hosts and requests being processed. php.ini refers to the configuration may give verbose error messaget
upvoted 1 times
...
kapen
1 year, 3 months ago
Selected Answer: C
php.ini misconfiguration may give verbose error messages. see pages 1792, Exam 312-50 Certified Ethical Hacker
upvoted 1 times
...
naija4life
1 year, 3 months ago
Selected Answer: A
httpd.conf
upvoted 1 times
...
aukaaya
1 year, 6 months ago
C:php.ini is the correct one
upvoted 1 times
...
jeremy13
1 year, 6 months ago
Selected Answer: C
C: php.ini Although I think httpd.conf is also a possible answer, I would say php.ini which can disclose more error messages (database etc..)
upvoted 1 times
...
eli117
1 year, 6 months ago
Selected Answer: A
A. httpd.conf While files such as php.ini (which can also contain sensitive configuration information for PHP-based web applications) can also be misconfigured and provide useful information to attackers, httpd.conf is generally considered to be the most commonly targeted file for this purpose, due to the widespread use of the Apache web server.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago