Free 312-50 Exam Braindumps
Ethical Hacker Certified Questions 381–385 (page: 78)

Updated On: 10-Feb-2026

Bob has been hired to do a web application security test. Bob notices that the site is dynamic and infers that they mist be making use of a database at the application back end.
Bob wants to validate whether SQL Injection would be possible.
What is the first character that Bob should use to attempt breaking valid SQL requests?

  1. Semi Column
  2. Double Quote
  3. Single Quote
  4. Exclamation Mark

Answer(s): C

Explanation:

In SQL single quotes are used around values in queries, by entering another single quote Bob tests if the application will submit a null value and probably returning an error.



Exhibit:

You are conducting pen-test against a company’s website using SQL Injection techniques. You enter “anuthing or 1=1-“ in the username filed of an authentication form. This is the output returned from the server.
What is the next step you should do?

  1. Identify the user context of the web application by running_
    http://www.example.com/order/include_rsa_asp?pressReleaseID=5
    AND
    USER_NAME() = ‘dbo’
  2. Identify the database and table name by running:
    http://www.example.com/order/include_rsa.asp?pressReleaseID=5
    AND
    ascii(lower(substring((SELECT TOP 1 name FROM sysobjects WHERE
    xtype=’U’), 1))) > 109
  3. Format the C: drive and delete the database by running:
    http://www.example.com/order/include_rsa.asp?pressReleaseID=5 AND
    xp_cmdshell ‘format c: /q /yes ‘; drop database myDB; --
  4. Reboot the web server by running:
    http://www.example.com/order/include_rsa.asp?pressReleaseID=5
    AND xp_cmdshell ‘iisreset –reboot’; --

Answer(s): A



Your boss is attempting to modify the parameters of a Web-based application in order to alter the SQL statements that are parsed to retrieve data from the database. What would you call such an attack?

  1. SQL Input attack
  2. SQL Piggybacking attack
  3. SQL Select attack
  4. SQL Injection attack

Answer(s): D

Explanation:

This technique is known as SQL injection attack



Which of the following activities will not be considered passive footprinting?

  1. Go through the rubbish to find out any information that might have been discarded
  2. Search on financial site such as Yahoo Financial to identify assets
  3. Scan the range of IP address found in the target DNS database
  4. Perform multiples queries using a search engine

Answer(s): C

Explanation:

Scanning is not considered to be passive footprinting.



When a malicious hacker identifies a target and wants to eventually compromise this target, what would be among the first steps that he would perform? (Choose the best answer)

  1. Cover his tracks by eradicating the log files and audit trails.
  2. Gain access to the remote computer in order to conceal the venue of attacks.
  3. Perform a reconnaissance of the remote target for identical of venue of attacks.
  4. Always begin with a scan in order to quickly identify venue of attacks.

Answer(s): C

Explanation:

A hacker always starts with a preparatory phase (Reconnaissance) where he seeks to gather as much information as possible about the target of evaluation prior to launching an attack. The reconnaissance can be either passive or active (or both).



Viewing page 78 of 154
Viewing questions 386 - 390 out of 765 questions


Post your Comments and Discuss EC-Council 312-50 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!