nerdexam
GIAC

GPEN · Question #86

You want to search the Apache Web server having version 2.0 using google hacking. Which of the following search queries will you use?

The correct answer is D. intitle:Sample.page.for.Apache Apache.Hook.Function. Google dorking uses advanced search operators to fingerprint specific server versions; Apache 2.0's default test page contains references to 'Apache.Hook.Function', which distinguishes it from older Apache 1.3.x default pages.

Penetration Testing Foundations & Reconnaissance

Question

You want to search the Apache Web server having version 2.0 using google hacking. Which of the following search queries will you use?

Options

  • Aintitle:"Test Page for Apache Installation" "You are free"
  • Bintitle:"Test Page for Apache Installation" "It worked!"
  • Cintitle:test.page "Hey, it worked !" "SSl/TLS aware"
  • Dintitle:Sample.page.for.Apache Apache.Hook.Function

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    3% (1)
  • C
    14% (4)
  • D
    76% (22)

Why each option

Google dorking uses advanced search operators to fingerprint specific server versions; Apache 2.0's default test page contains references to 'Apache.Hook.Function', which distinguishes it from older Apache 1.3.x default pages.

Aintitle:"Test Page for Apache Installation" "You are free"

The phrase 'You are free' does not appear on the standard Apache 2.0 default test page and is not a recognized indicator of that version.

Bintitle:"Test Page for Apache Installation" "It worked!"

The phrase 'It worked!' is characteristic of the Apache 1.3.x default test page, not Apache 2.0.

Cintitle:test.page "Hey, it worked !" "SSl/TLS aware"

The phrases 'Hey, it worked !' and 'SSl/TLS aware' correspond to Apache 1.3.x SSL-enabled installations, not Apache 2.0.

Dintitle:Sample.page.for.Apache Apache.Hook.FunctionCorrect

The query 'intitle:Sample.page.for.Apache Apache.Hook.Function' targets the default test page unique to Apache 2.0, which references the Hook Function API that was introduced in the Apache 2.0 architecture, accurately fingerprinting that specific version.

Concept tested: Google dorking to identify specific Apache server versions

Source: https://www.exploit-db.com/google-hacking-database

Topics

#Google hacking#Apache fingerprinting#OSINT#search operators

Community Discussion

No community discussion yet for this question.

Full GPEN Practice