RTFM_ security field notes

HTTP: identify the application

Preserve the virtual host, inspect one response and separate the web frontend from the application behind it.

Start with the scheme, hostname, port and application path. A response from an IP address can belong to the default virtual host rather than the intended application; a Server header can describe a reverse proxy.

Inspect one response

URL='https://app.example.org/'
curl -q --silent --show-error --connect-timeout 5 --max-time 15 \
  --dump-header headers.txt --output page.html "$URL"

This sends a GET and saves headers and body separately. -q ignores the default curl configuration; no redirect-following option is used. Inspect Location before requesting a redirected URL. Unlike -I, GET retrieves the page body, which may identify the application even when HEAD is unsupported.

Keep captured files with the assessment evidence: headers can contain session cookies. A 200 status alone does not distinguish a login page, a proxy error rendered as HTML or the expected resource.

Known virtual host on a specific address

Keep the hostname in the URL for HTTP host selection, TLS SNI and certificate verification; override only its destination address:

curl -q --silent --show-error --connect-timeout 5 --max-time 15 \
  --resolve app.example.org:443:192.0.2.20 \
  --dump-header headers.txt --output page.html https://app.example.org/

This example assumes a direct connection; an environment-configured proxy can change routing. For an internal CA, provide its trust bundle with --cacert. A certificate error is not a reason to silently discard identity verification.

Continue from the identified component

  • GLPI page or assets: establish the installation root and core/plugin versions, then use GLPI and glpwnme.
  • Apache server: check the actual package and configuration before following Apache-specific paths; a proxy header is insufficient.
  • ADCS web enrollment: review endpoint authentication and EPA, separately from certificate-template permissions.
  • Application still unknown: inspect the returned page and known navigation first; choose a web technique from observed behavior.

Sources

curl manual, reviewed 2026-11-24. Examples use reserved documentation names and addresses.

Provenance and confidence
Version
1
Sources reviewed
2026-11-24
Confidence
medium — curl request, redirect, timeout and resolve options checked against the upstream manual on 2026-11-24. No remote application tested.

Also searched as: http, https, 80/tcp, 443/tcp, 8080/tcp, 8443/tcp, service web, hôte virtuel, bannière HTTP