Penetration Testing mailing list archives
RE: HTTP request working via hostname but not via IP address
From: Marvin Simkin <Marvin.Simkin () asu edu>
Date: Mon, 08 May 2006 10:54:06 -0700
The IP i'm trying to reach IS one of two IPs which correspond to a virtual adress, but this is on an internal network, so the IP I am aiming for is definitely not virtual. Any other possibilities?
There may be some overlapping terminology here: "virtual IP" vs. "virtual host". Try this: telnet HOSTNAME 80 Trying ADDRESS... Connected to HOSTNAME (ADDRESS). Escape character is '^]'. GET / HTTP/1.0 Then press return a second time. Note what you get for a reply. Then do this: telnet HOSTNAME 80 Trying ADDRESS... Connected to HOSTNAME (ADDRESS). Escape character is '^]'. GET / HTTP/1.1 Host: HOSTNAME And press return again. If the responses differ significantly, the web server is configured to require the "Host:" header from your browser, which was included in the second request but not the first. When you connect by IP address, your computer maybe sends "Host: ADDRESS" or maybe no host header at all. Thus the server rejects the request. Marvin Simkin, CISA http://simkin.asu.edu/ ------------------------------------------------------------------------------ This List Sponsored by: Cenzic Concerned about Web Application Security? Why not go with the #1 solution - Cenzic, the only one to win the Analyst's Choice Award from eWeek. As attacks through web applications continue to rise, you need to proactively protect your applications from hackers. Cenzic has the most comprehensive solutions to meet your application security penetration testing and vulnerability management needs. You have an option to go with a managed service (Cenzic ClickToSecure) or an enterprise software (Cenzic Hailstorm). Download FREE whitepaper on how a managed service can help you: http://www.cenzic.com/news_events/wpappsec.php And, now for a limited time we can do a FREE audit for you to confirm your results from other product. Contact us at request () cenzic com for details. ------------------------------------------------------------------------------
Current thread:
- Re: HTTP request working via hostname but not via IP address Arjun Venkatraman (May 07)
- Re: HTTP request working via hostname but not via IP address Javier Liendo (May 07)
- Re: HTTP request working via hostname but not via IP address Arjun Venkatraman (May 08)
- Re: HTTP request working via hostname but not via IP address Ron Nelson (May 08)
- Re: HTTP request working via hostname but not via IP address Arjun Venkatraman (May 09)
- RE: HTTP request working via hostname but not via IP address Admin.mmm (May 08)
- RE: HTTP request working via hostname but not via IP address Omar A. Herrera (May 08)
- RE: HTTP request working via hostname but not via IP address Marvin Simkin (May 08)
- Re: HTTP request working via hostname but not via IP address Arjun Venkatraman (May 08)
- Re: HTTP request working via hostname but not via IP address Javier Liendo (May 07)
- Re: HTTP request working via hostname but not via IP address Thor (Hammer of God) (May 07)
- <Possible follow-ups>
- RE: HTTP request working via hostname but not via IP address Hiten Pankhania (May 08)
