Showing posts with label http header. Show all posts
Showing posts with label http header. Show all posts

Friday, February 15, 2013

Getting a Website's PHP Version

 mod_ssl/2.2.23Another simple task that gives out some nice information is using Telnet or PuTTy. I prefer using PuTTy sicne it supports multiple protocols and Windows 7 doesn't come with Telnet installed (as far as I know). Connect to the web server and request a page that is not there, I just like the 404 error, but whatever floats your boat.


Once you open the connection request a page that isn't there, or a page that may not be there. I typed GET /index.php HTTP/1.1\r\n


As you can see in the image above we have a few nice pieces of information about the remote web server such as it's versions of software it's running.

  •  Apache/2.2.23 (Unix)
  •  PHP/5.3.18
We can also see some of the modules installed:
  • mod_ssl/2.2.23
  • OpenSSL/0.9.8e-fips-rhel5
  • mod_auth_passthrough/2.1
  • mod_bwlimited/1.4
  • FrontPage/5.0.2.2635